Skip to content

Commit

Permalink
[media] af9015: use USB core soft_unbind
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Antti Palosaari authored and Mauro Carvalho Chehab committed Aug 4, 2012
1 parent a3645e5 commit 77f5451
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions drivers/media/dvb/dvb-usb/af9015.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 77f5451

Please sign in to comment.