mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 03:01:39 -04:00
USB: OMAP: OHCI: hc_driver's stop method should call ohci_stop
OMAP: OHCI: hc_driver's stop method should call ohci_stop Without this, the ohci-omap driver will not cleanup the debugfs nodes when the driver is unloaded. So the next insmod will fail, if CONFIG_DEBUG_FS and CONFIG_USB_DEBUG are both selected. Reported-by: vikram pandita <[email protected]> Cc: David Brownell <[email protected]> Signed-off-by: Anand Gadiyar <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
This commit is contained in:
parent
7a777919bb
commit
715bfc22ce
1 changed files with 1 additions and 0 deletions
|
|
@ -282,6 +282,7 @@ static int ohci_omap_init(struct usb_hcd *hcd)
|
|||
static void ohci_omap_stop(struct usb_hcd *hcd)
|
||||
{
|
||||
dev_dbg(hcd->self.controller, "stopping USB Controller\n");
|
||||
ohci_stop(hcd);
|
||||
omap_ohci_clock_power(0);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue