瀏覽代碼

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>
Paul Fulghum 17 年之前
父節點
當前提交
993456cdc8
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      drivers/char/synclink_gt.c

+ 1 - 1
drivers/char/synclink_gt.c

@@ -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;