aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/char/synclink_gt.c
diff options
context:
space:
mode:
authorPaul Fulghum <paulkf@microgate.com>2008-07-22 06:22:04 -0400
committerLinus Torvalds <torvalds@linux-foundation.org>2008-07-22 16:03:29 -0400
commit993456cdc853a52e1042ebf93fc6e1a12d1216f7 (patch)
tree386ed83e0b17ebdfb89d6ca1abf55b83950e2596 /drivers/char/synclink_gt.c
parent403214d0ad9b2b9e46c89a5b4b513c910c89068d (diff)
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 <paulkf@microgate.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Alan Cox <alan@lxorguk.ukuu.org.uk> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/char/synclink_gt.c')
-rw-r--r--drivers/char/synclink_gt.c2
1 files changed, 1 insertions, 1 deletions
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)
4134 * 01 enable 4134 * 01 enable
4135 * 00 auto-CTS enable 4135 * 00 auto-CTS enable
4136 */ 4136 */
4137 val = 0; 4137 val = BIT2;
4138 4138
4139 switch(info->params.mode) { 4139 switch(info->params.mode) {
4140 case MGSL_MODE_MONOSYNC: val |= BIT14 + BIT13; break; 4140 case MGSL_MODE_MONOSYNC: val |= BIT14 + BIT13; break;