Commit 43b11d33 authored by Alan Cox's avatar Alan Cox Committed by Linus Torvalds

ftdi: A few errors are err() that should be debug which causes much spewage

Fixes #10783
Signed-off-by: default avatarAlan Cox <alan@redhat.com>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent 4ad6de0b
...@@ -860,7 +860,7 @@ static int update_mctrl(struct usb_serial_port *port, unsigned int set, ...@@ -860,7 +860,7 @@ static int update_mctrl(struct usb_serial_port *port, unsigned int set,
kfree(buf); kfree(buf);
if (rv < 0) { if (rv < 0) {
err("%s Error from MODEM_CTRL urb: DTR %s, RTS %s", dbg("%s Error from MODEM_CTRL urb: DTR %s, RTS %s",
__func__, __func__,
(set & TIOCM_DTR) ? "HIGH" : (set & TIOCM_DTR) ? "HIGH" :
(clear & TIOCM_DTR) ? "LOW" : "unchanged", (clear & TIOCM_DTR) ? "LOW" : "unchanged",
...@@ -2256,7 +2256,7 @@ static int ftdi_tiocmget(struct tty_struct *tty, struct file *file) ...@@ -2256,7 +2256,7 @@ static int ftdi_tiocmget(struct tty_struct *tty, struct file *file)
0, 0, 0, 0,
buf, 1, WDR_TIMEOUT); buf, 1, WDR_TIMEOUT);
if (ret < 0) { if (ret < 0) {
err("%s Could not get modem status of device - err: %d", __func__, dbg("%s Could not get modem status of device - err: %d", __func__,
ret); ret);
return ret; return ret;
} }
...@@ -2275,7 +2275,7 @@ static int ftdi_tiocmget(struct tty_struct *tty, struct file *file) ...@@ -2275,7 +2275,7 @@ static int ftdi_tiocmget(struct tty_struct *tty, struct file *file)
0, priv->interface, 0, priv->interface,
buf, 2, WDR_TIMEOUT); buf, 2, WDR_TIMEOUT);
if (ret < 0) { if (ret < 0) {
err("%s Could not get modem status of device - err: %d", __func__, dbg("%s Could not get modem status of device - err: %d", __func__,
ret); ret);
return ret; return ret;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment