aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/usb/serial/ftdi_sio.c
diff options
context:
space:
mode:
authorAlan Cox <alan@redhat.com>2008-10-13 05:36:00 -0400
committerLinus Torvalds <torvalds@linux-foundation.org>2008-10-13 12:51:39 -0400
commit43b11d33f2c20c33fcf197780edb2e5d8a1b6a67 (patch)
tree8e779978b8f9d3aa115865b5c10ee41252ae09e4 /drivers/usb/serial/ftdi_sio.c
parent4ad6de0b3f5d050b70e4c94a0cc8b26503f8cf28 (diff)
ftdi: A few errors are err() that should be debug which causes much spewage
Fixes #10783 Signed-off-by: Alan Cox <alan@redhat.com> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/usb/serial/ftdi_sio.c')
-rw-r--r--drivers/usb/serial/ftdi_sio.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/usb/serial/ftdi_sio.c b/drivers/usb/serial/ftdi_sio.c
index 3dc93b542b30..1ac7e802b4b6 100644
--- a/drivers/usb/serial/ftdi_sio.c
+++ b/drivers/usb/serial/ftdi_sio.c
@@ -860,7 +860,7 @@ static int update_mctrl(struct usb_serial_port *port, unsigned int set,
860 860
861 kfree(buf); 861 kfree(buf);
862 if (rv < 0) { 862 if (rv < 0) {
863 err("%s Error from MODEM_CTRL urb: DTR %s, RTS %s", 863 dbg("%s Error from MODEM_CTRL urb: DTR %s, RTS %s",
864 __func__, 864 __func__,
865 (set & TIOCM_DTR) ? "HIGH" : 865 (set & TIOCM_DTR) ? "HIGH" :
866 (clear & TIOCM_DTR) ? "LOW" : "unchanged", 866 (clear & TIOCM_DTR) ? "LOW" : "unchanged",
@@ -2256,7 +2256,7 @@ static int ftdi_tiocmget(struct tty_struct *tty, struct file *file)
2256 0, 0, 2256 0, 0,
2257 buf, 1, WDR_TIMEOUT); 2257 buf, 1, WDR_TIMEOUT);
2258 if (ret < 0) { 2258 if (ret < 0) {
2259 err("%s Could not get modem status of device - err: %d", __func__, 2259 dbg("%s Could not get modem status of device - err: %d", __func__,
2260 ret); 2260 ret);
2261 return ret; 2261 return ret;
2262 } 2262 }
@@ -2275,7 +2275,7 @@ static int ftdi_tiocmget(struct tty_struct *tty, struct file *file)
2275 0, priv->interface, 2275 0, priv->interface,
2276 buf, 2, WDR_TIMEOUT); 2276 buf, 2, WDR_TIMEOUT);
2277 if (ret < 0) { 2277 if (ret < 0) {
2278 err("%s Could not get modem status of device - err: %d", __func__, 2278 dbg("%s Could not get modem status of device - err: %d", __func__,
2279 ret); 2279 ret);
2280 return ret; 2280 return ret;
2281 } 2281 }