aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/dvb/dvb-usb/af9015.c
diff options
context:
space:
mode:
authorAntti Palosaari <crope@iki.fi>2012-06-09 20:22:06 -0400
committerMauro Carvalho Chehab <mchehab@redhat.com>2012-08-04 06:56:28 -0400
commit77f54517fd5fc3f94486729a74064fbb55f140b8 (patch)
tree54c491743155367d0c8164c33a06900f5f542915 /drivers/media/dvb/dvb-usb/af9015.c
parenta3645e5430dbcc1b4116bd5add450c5bba9b6c45 (diff)
[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>
Diffstat (limited to 'drivers/media/dvb/dvb-usb/af9015.c')
-rw-r--r--drivers/media/dvb/dvb-usb/af9015.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/media/dvb/dvb-usb/af9015.c b/drivers/media/dvb/dvb-usb/af9015.c
index fe5ef3a03edc..9d0bd9bed739 100644
--- a/drivers/media/dvb/dvb-usb/af9015.c
+++ b/drivers/media/dvb/dvb-usb/af9015.c
@@ -1431,6 +1431,7 @@ static struct usb_driver af9015_usb_driver = {
1431 .disconnect = dvb_usbv2_disconnect, 1431 .disconnect = dvb_usbv2_disconnect,
1432 .id_table = af9015_id_table, 1432 .id_table = af9015_id_table,
1433 .no_dynamic_id = 1, 1433 .no_dynamic_id = 1,
1434 .soft_unbind = 1,
1434}; 1435};
1435 1436
1436module_usb_driver(af9015_usb_driver); 1437module_usb_driver(af9015_usb_driver);