Lines 261-267
Link Here
|
261 |
/* if (dev->interrupt) { */ |
261 |
/* if (dev->interrupt) { */ |
262 |
mutex_lock(&dev->interrupt_mutex); |
262 |
mutex_lock(&dev->interrupt_mutex); |
263 |
|
263 |
|
264 |
if (++dev->interrupt_count == 1) |
264 |
if (++dev->interrupt_count == 2) |
265 |
ret = usb_submit_urb(dev->interrupt, mem_flags); |
265 |
ret = usb_submit_urb(dev->interrupt, mem_flags); |
266 |
|
266 |
|
267 |
dev_dbg(&dev->udev->dev, "incremented interrupt URB count to %d\n", |
267 |
dev_dbg(&dev->udev->dev, "incremented interrupt URB count to %d\n", |