Commit 993456cd authored by Paul Fulghum's avatar Paul Fulghum Committed by Linus Torvalds

synclink_gt: leave transmitter in reset state after configuration

Leave the transmitter in reset state after configuration so that transmit
signal is held at mark until transmitter is explicitly enabled by
application, otherwise transmitter sends idle pattern.
Signed-off-by: default avatarPaul Fulghum <paulkf@microgate.com>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarAlan Cox <alan@lxorguk.ukuu.org.uk>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent 403214d0
...@@ -4134,7 +4134,7 @@ static void sync_mode(struct slgt_info *info) ...@@ -4134,7 +4134,7 @@ static void sync_mode(struct slgt_info *info)
* 01 enable * 01 enable
* 00 auto-CTS enable * 00 auto-CTS enable
*/ */
val = 0; val = BIT2;
switch(info->params.mode) { switch(info->params.mode) {
case MGSL_MODE_MONOSYNC: val |= BIT14 + BIT13; break; case MGSL_MODE_MONOSYNC: val |= BIT14 + BIT13; break;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment