aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/usb/serial/ark3116.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/usb/serial/ark3116.c')
-rw-r--r--drivers/usb/serial/ark3116.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/drivers/usb/serial/ark3116.c b/drivers/usb/serial/ark3116.c
index bc77e955cbef..1532cde8a437 100644
--- a/drivers/usb/serial/ark3116.c
+++ b/drivers/usb/serial/ark3116.c
@@ -23,7 +23,6 @@
23 */ 23 */
24 24
25#include <linux/kernel.h> 25#include <linux/kernel.h>
26#include <linux/init.h>
27#include <linux/ioctl.h> 26#include <linux/ioctl.h>
28#include <linux/tty.h> 27#include <linux/tty.h>
29#include <linux/slab.h> 28#include <linux/slab.h>
@@ -71,7 +70,7 @@ struct ark3116_private {
71 __u32 lcr; /* line control register value */ 70 __u32 lcr; /* line control register value */
72 __u32 hcr; /* handshake control register (0x8) 71 __u32 hcr; /* handshake control register (0x8)
73 * value */ 72 * value */
74 __u32 mcr; /* modem contol register value */ 73 __u32 mcr; /* modem control register value */
75 74
76 /* protects the status values below */ 75 /* protects the status values below */
77 spinlock_t status_lock; 76 spinlock_t status_lock;
@@ -609,7 +608,7 @@ static void ark3116_read_int_callback(struct urb *urb)
609} 608}
610 609
611 610
612/* Data comes in via the bulk (data) URB, erors/interrupts via the int URB. 611/* Data comes in via the bulk (data) URB, errors/interrupts via the int URB.
613 * This means that we cannot be sure which data byte has an associated error 612 * This means that we cannot be sure which data byte has an associated error
614 * condition, so we report an error for all data in the next bulk read. 613 * condition, so we report an error for all data in the next bulk read.
615 * 614 *