aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/usb/serial/quatech2.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/usb/serial/quatech2.c')
-rw-r--r--drivers/usb/serial/quatech2.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/drivers/usb/serial/quatech2.c b/drivers/usb/serial/quatech2.c
index 7df9cdb053ed..2cdfdcc90b37 100644
--- a/drivers/usb/serial/quatech2.c
+++ b/drivers/usb/serial/quatech2.c
@@ -27,8 +27,6 @@
27#include <linux/serial_reg.h> 27#include <linux/serial_reg.h>
28#include <linux/uaccess.h> 28#include <linux/uaccess.h>
29 29
30static bool debug;
31
32/* default urb timeout for usb operations */ 30/* default urb timeout for usb operations */
33#define QT2_USB_TIMEOUT USB_CTRL_SET_TIMEOUT 31#define QT2_USB_TIMEOUT USB_CTRL_SET_TIMEOUT
34 32
@@ -1089,7 +1087,7 @@ static int qt2_write(struct tty_struct *tty,
1089 data = write_urb->transfer_buffer; 1087 data = write_urb->transfer_buffer;
1090 spin_lock_irqsave(&port_priv->urb_lock, flags); 1088 spin_lock_irqsave(&port_priv->urb_lock, flags);
1091 if (port_priv->urb_in_use == true) { 1089 if (port_priv->urb_in_use == true) {
1092 printk(KERN_INFO "qt2_write - urb is in use\n"); 1090 dev_err(&port->dev, "qt2_write - urb is in use\n");
1093 goto write_out; 1091 goto write_out;
1094 } 1092 }
1095 1093
@@ -1146,6 +1144,3 @@ module_usb_serial_driver(serial_drivers, id_table);
1146 1144
1147MODULE_DESCRIPTION(DRIVER_DESC); 1145MODULE_DESCRIPTION(DRIVER_DESC);
1148MODULE_LICENSE("GPL"); 1146MODULE_LICENSE("GPL");
1149
1150module_param(debug, bool, S_IRUGO | S_IWUSR);
1151MODULE_PARM_DESC(debug, "Debug enabled or not");