From: Christian Lamparter Date: Thu, 5 Mar 2009 20:29:51 +0000 (+0100) Subject: p54usb: stop USB core interference in exit path X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=fbf95296c1c8b1ba09bdea0438ce2c61e0e3be5d;p=GitHub%2Fmt8127%2Fandroid_kernel_alcatel_ttab.git p54usb: stop USB core interference in exit path The patch fixes a problem when the (Soft)LED stayed on after the module was unloaded. It turned out that the USB core disables all endpoints before calling the disconnect method. So it was impossible to switch off the radio & LEDs. Signed-off-by: Christian Lamparter Signed-off-by: John W. Linville --- diff --git a/drivers/net/wireless/p54/p54usb.c b/drivers/net/wireless/p54/p54usb.c index 9539ddcf379f..3b5e54e6793d 100644 --- a/drivers/net/wireless/p54/p54usb.c +++ b/drivers/net/wireless/p54/p54usb.c @@ -1024,6 +1024,7 @@ static struct usb_driver p54u_driver = { .disconnect = p54u_disconnect, .pre_reset = p54u_pre_reset, .post_reset = p54u_post_reset, + .soft_unbind = 1, }; static int __init p54u_init(void)