From: Paul Fulghum Date: Tue, 22 Jul 2008 10:22:04 +0000 (+0100) Subject: synclink_gt: leave transmitter in reset state after configuration X-Git-Tag: firefly_0821_release~19466 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=993456cdc853a52e1042ebf93fc6e1a12d1216f7;p=firefly-linux-kernel-4.4.55.git 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: Paul Fulghum Signed-off-by: Andrew Morton Signed-off-by: Alan Cox Signed-off-by: Linus Torvalds --- diff --git a/drivers/char/synclink_gt.c b/drivers/char/synclink_gt.c index 8511e2e43c18..c8bc69c97d1a 100644 --- a/drivers/char/synclink_gt.c +++ b/drivers/char/synclink_gt.c @@ -4134,7 +4134,7 @@ static void sync_mode(struct slgt_info *info) * 01 enable * 00 auto-CTS enable */ - val = 0; + val = BIT2; switch(info->params.mode) { case MGSL_MODE_MONOSYNC: val |= BIT14 + BIT13; break;