From: Anand Gadiyar Date: Tue, 14 Jul 2009 11:11:00 +0000 (+0530) Subject: USB: OMAP: OHCI: hc_driver's stop method should call ohci_stop X-Git-Tag: v3.12-rc1~13721^2~30 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=715bfc22ce952a14fac0b9200fd70d81c1951091;p=kernel%2Fkernel-generic.git 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 Cc: David Brownell Signed-off-by: Anand Gadiyar Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/usb/host/ohci-omap.c b/drivers/usb/host/ohci-omap.c index f3aaba3..83cbecd 100644 --- a/drivers/usb/host/ohci-omap.c +++ b/drivers/usb/host/ohci-omap.c @@ -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); }