From patchwork Wed Jul 15 14:00:16 2009 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Greg Kroah-Hartman X-Patchwork-Id: 35689 Received: from vger.kernel.org (vger.kernel.org [209.132.176.167]) by demeter.kernel.org (8.14.2/8.14.2) with ESMTP id n6FE1uN3015259 for ; Wed, 15 Jul 2009 14:01:56 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754905AbZGOOBO (ORCPT ); Wed, 15 Jul 2009 10:01:14 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1754889AbZGOOBM (ORCPT ); Wed, 15 Jul 2009 10:01:12 -0400 Received: from kroah.org ([198.145.64.141]:36664 "EHLO coco.kroah.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754891AbZGOOBJ (ORCPT ); Wed, 15 Jul 2009 10:01:09 -0400 Received: from localhost (c-76-105-230-205.hsd1.or.comcast.net [76.105.230.205]) (using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by coco.kroah.org (Postfix) with ESMTPSA id E6E5449110; Wed, 15 Jul 2009 07:01:09 -0700 (PDT) Subject: patch usb-omap-ohci-hc_driver-s-stop-method-should-call-ohci_stop.patch added to gregkh-2.6 tree To: gadiyar@ti.com, dbrownell@users.sourceforge.net, gregkh@suse.de, linux-omap@vger.kernel.org, linux-usb@vger.kernel.org, vikram.pandita@ti.com From: Date: Wed, 15 Jul 2009 07:00:16 -0700 In-Reply-To: <5A47E75E594F054BAF48C5E4FC4B92AB0305D662CF@dbde02.ent.ti.com> Message-ID: <12476664161827@kroah.org> Sender: linux-omap-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-omap@vger.kernel.org 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 gadiyar@ti.com Wed Jul 15 06:34:11 2009 From: Anand Gadiyar Date: Tue, 14 Jul 2009 16:41:00 +0530 Subject: USB: OMAP: OHCI: hc_driver's stop method should call ohci_stop To: "linux-usb@vger.kernel.org" Cc: "dbrownell@users.sourceforge.net" , "linux-omap@vger.kernel.org" Message-ID: <5A47E75E594F054BAF48C5E4FC4B92AB0305D662CF@dbde02.ent.ti.com> From: Anand Gadiyar 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 --- drivers/usb/host/ohci-omap.c | 1 + 1 file changed, 1 insertion(+) -- To unsubscribe from this list: send the line "unsubscribe linux-omap" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html --- 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); }