This is a note to let you know that I've just added the patch titled

    Subject: USB: OMAP: OHCI: hc_driver's stop method should call ohci_stop

to my gregkh-2.6 tree.  Its filename is

    usb-omap-ohci-hc_driver-s-stop-method-should-call-ohci_stop.patch

This tree can be found at 
    http://www.kernel.org/pub/linux/kernel/people/gregkh/gregkh-2.6/patches/


>From gadi...@ti.com  Wed Jul 15 06:34:11 2009
From: Anand Gadiyar <gadi...@ti.com>
Date: Tue, 14 Jul 2009 16:41:00 +0530
Subject: USB: OMAP: OHCI: hc_driver's stop method should call ohci_stop
To: "linux-...@vger.kernel.org" <linux-...@vger.kernel.org>
Cc: "dbrown...@users.sourceforge.net" <dbrown...@users.sourceforge.net>, 
"linux-omap@vger.kernel.org" <linux-omap@vger.kernel.org>
Message-ID: <5a47e75e594f054baf48c5e4fc4b92ab0305d66...@dbde02.ent.ti.com>


From: Anand Gadiyar <gadi...@ti.com>

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 <vikram.pand...@ti.com>
Cc: David Brownell <dbrown...@users.sourceforge.net>
Signed-off-by: Anand Gadiyar <gadi...@ti.com>
Signed-off-by: Greg Kroah-Hartman <gre...@suse.de>

---
 drivers/usb/host/ohci-omap.c |    1 +
 1 file changed, 1 insertion(+)

--- 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
 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);
 }
 

--
To unsubscribe from this list: send the line "unsubscribe linux-omap" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to