提交 993456cd 编写于 作者: P Paul Fulghum 提交者: 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: NPaul Fulghum <paulkf@microgate.com>
Signed-off-by: NAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: NAlan Cox <alan@lxorguk.ukuu.org.uk>
Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
上级 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% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册