WUSB: disconnect all devices when stopping a WUSB HCD
authorDavid Vrabel <david.vrabel@csr.com>
Wed, 8 Apr 2009 17:36:33 +0000 (17:36 +0000)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 17 Apr 2009 17:50:28 +0000 (10:50 -0700)
commit8db324ec4322a15cf8819b8a7f0eff5aa98b2ff6
tree9e42bb8c488576828566c1857687ac4b569a8cd1
parentf720af91ec2c67e9a1abbd935570f4b4e1f0dd54
WUSB: disconnect all devices when stopping a WUSB HCD

Make sure all WUSB devices are disconnected when stopping a WUSB HCD so
that we don't leak the devices' wusb_dev structures.

Signed-off-by: David Vrabel <david.vrabel@csr.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/wusbcore/devconnect.c