All of lore.kernel.org
 help / color / mirror / Atom feed
From: Felipe Balbi <balbi@ti.com>
To: "Munegowda, Keshava" <keshava_mgowda@ti.com>
Cc: "greg@kroah.com" <greg@kroah.com>,
	"linux-usb-owner@vger.kernel.org"
	<linux-usb-owner@vger.kernel.org>,
	"Gadiyar, Anand" <gadiyar@ti.com>,
	"Kamat, Nishant" <nskamat@ti.com>,
	"linux-usb@vger.kernel.org" <linux-usb@vger.kernel.org>,
	"linux-omap@vger.kernel.org" <linux-omap@vger.kernel.org>
Subject: Re: [PATCH] usb: omap: ohci: Missing driver unregister in module exit
Date: Fri, 17 Sep 2010 09:43:16 +0300	[thread overview]
Message-ID: <20100917064316.GF23325@legolas.emea.dhcp.ti.com> (raw)
In-Reply-To: <0680EC522D0CC943BC586913CF3768C003C210F6A6@dbde02.ent.ti.com>

On Thu, Sep 16, 2010 at 06:39:20AM -0500, Munegowda, Keshava wrote:
>> -----Original Message-----
>> From: Munegowda, Keshava
>> Sent: Tuesday, September 14, 2010 4:40 AM
>> To: linux-usb@vger.kernel.org; linux-omap@vger.kernel.org
>> Cc: Gadiyar, Anand; Kamat, Nishant; Munegowda, Keshava
>> Subject: [PATCH] usb: omap: ohci: Missing driver unregister in module exit
>>
>> The un-registration of OHCI driver was not done in
>> the ohci_hcd_mod_exit function. This was affecting rmmod command not
>> to work for OMAP3 platforms.
>> The platform driver un-registration for OMAP3 platforms is perfomed
>> while removing the OHCI module from kernel.
>>
>> Signed-off-by: Keshava Munegowda <keshava_mgowda@ti.com>
>> ---
>>  drivers/usb/host/ohci-hcd.c |    3 +++
>>  1 file changed, 3 insertions(+)
>>
>> Index: linux-2.6/drivers/usb/host/ohci-hcd.c
>> ===================================================================
>> --- linux-2.6.orig/drivers/usb/host/ohci-hcd.c
>> +++ linux-2.6/drivers/usb/host/ohci-hcd.c
>> @@ -1270,6 +1270,9 @@ static void __exit ohci_hcd_mod_exit(voi
>>  #ifdef PLATFORM_DRIVER
>>  	platform_driver_unregister(&PLATFORM_DRIVER);
>>  #endif
>> +#ifdef OMAP3_PLATFORM_DRIVER
>> +	platform_driver_unregister(&OMAP3_PLATFORM_DRIVER);
>> +#endif
>>  #ifdef PS3_SYSTEM_BUS_DRIVER
>>  	ps3_ohci_driver_unregister(&PS3_SYSTEM_BUS_DRIVER);
>>  #endif
>
>Hi Greg,
>     Do you any comments on this patch?

my missing S-O-B, maybe. Here it goes:

Signed-of-by: Felipe Balbi <balbi@ti.com>

-- 
balbi

  reply	other threads:[~2010-09-17  6:43 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-09-13 23:10 [PATCH] usb: omap: ohci: Missing driver unregister in module exit Keshava Munegowda
     [not found] ` <1284419401-32101-1-git-send-email-keshava_mgowda-l0cyMroinI0@public.gmane.org>
2010-09-16 11:39   ` Munegowda, Keshava
2010-09-17  6:43     ` Felipe Balbi [this message]
2010-09-21 20:43       ` Greg KH

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20100917064316.GF23325@legolas.emea.dhcp.ti.com \
    --to=balbi@ti.com \
    --cc=gadiyar@ti.com \
    --cc=greg@kroah.com \
    --cc=keshava_mgowda@ti.com \
    --cc=linux-omap@vger.kernel.org \
    --cc=linux-usb-owner@vger.kernel.org \
    --cc=linux-usb@vger.kernel.org \
    --cc=nskamat@ti.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.