mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-14 08:36:12 -04:00
[media] af9015: use USB core soft_unbind
I think it is better to allow driver finish pending operations and disconnect device. Killing all ongoing USB transfers could have very bad effect, even break hardware in worst case. Signed-off-by: Antti Palosaari <crope@iki.fi> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
This commit is contained in:
parent
a3645e5430
commit
77f54517fd
1 changed files with 1 additions and 0 deletions
|
|
@ -1431,6 +1431,7 @@ static struct usb_driver af9015_usb_driver = {
|
|||
.disconnect = dvb_usbv2_disconnect,
|
||||
.id_table = af9015_id_table,
|
||||
.no_dynamic_id = 1,
|
||||
.soft_unbind = 1,
|
||||
};
|
||||
|
||||
module_usb_driver(af9015_usb_driver);
|
||||
|
|
|
|||
Loading…
Reference in a new issue