]> git.baikalelectronics.ru Git - kernel.git/commit
staging: vt6656: make pControlURB available life time of driver.
authorMalcolm Priestley <tvboxspy@gmail.com>
Wed, 9 Oct 2013 19:18:54 +0000 (20:18 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 11 Oct 2013 22:23:14 +0000 (15:23 -0700)
commit4fc25ea24d25a1343459777cf37caa98d4cc2522
tree61b601942ccd189c8cddc558fd7226902f61193d
parent971077bc619763a7c84c90359bd7b01007f1c1da
staging: vt6656: make pControlURB available life time of driver.

There is no need remove and add the control urb in device open/close.

Move to the probe and disconnect. This make the USB control in/out
functions always available to driver.

Signed-off-by: Malcolm Priestley <tvboxspy@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/vt6656/main_usb.c