projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a3645e5
)
[media] af9015: use USB core soft_unbind
author
Antti Palosaari
<
[email protected]
>
Sun, 10 Jun 2012 00:22:06 +0000
(21:22 -0300)
committer
Mauro Carvalho Chehab
<
[email protected]
>
Sat, 4 Aug 2012 10:56:28 +0000
(07:56 -0300)
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 <
[email protected]
>
Signed-off-by: Mauro Carvalho Chehab <
[email protected]
>
drivers/media/dvb/dvb-usb/af9015.c
patch
|
blob
|
history
diff --git
a/drivers/media/dvb/dvb-usb/af9015.c
b/drivers/media/dvb/dvb-usb/af9015.c
index fe5ef3a03edc71ebca0c1e54d9412ec53c1623df..9d0bd9bed7399f3261bce9948a7056e14e2a4260 100644
(file)
--- 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 = {
.disconnect = dvb_usbv2_disconnect,
.id_table = af9015_id_table,
.no_dynamic_id = 1,
+ .soft_unbind = 1,
};
module_usb_driver(af9015_usb_driver);