提交 c1077c11 编写于 作者: O Oliver Neukum 提交者: Zheng Zengkai

USB: cdc-acm: downgrade message to debug

stable inclusion
from stable-5.10.28
commit 439a275211123c3c896f6131f4019cd820f66b93
bugzilla: 51779

--------------------------------

commit e4c77070 upstream.

This failure is so common that logging an error here amounts
to spamming log files.
Reviewed-by: NBruno Thomsen <bruno.thomsen@gmail.com>
Signed-off-by: NOliver Neukum <oneukum@suse.com>
Cc: stable <stable@vger.kernel.org>
Link: https://lore.kernel.org/r/20210311130126.15972-2-oneukum@suse.comSigned-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: NChen Jun <chenjun102@huawei.com>
Acked-by: N  Weilong Chen <chenweilong@huawei.com>
Signed-off-by: NZheng Zengkai <zhengzengkai@huawei.com>
上级 cd3270eb
...@@ -659,7 +659,8 @@ static void acm_port_dtr_rts(struct tty_port *port, int raise) ...@@ -659,7 +659,8 @@ static void acm_port_dtr_rts(struct tty_port *port, int raise)
res = acm_set_control(acm, val); res = acm_set_control(acm, val);
if (res && (acm->ctrl_caps & USB_CDC_CAP_LINE)) if (res && (acm->ctrl_caps & USB_CDC_CAP_LINE))
dev_err(&acm->control->dev, "failed to set dtr/rts\n"); /* This is broken in too many devices to spam the logs */
dev_dbg(&acm->control->dev, "failed to set dtr/rts\n");
} }
static int acm_port_activate(struct tty_port *port, struct tty_struct *tty) static int acm_port_activate(struct tty_port *port, struct tty_struct *tty)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册