[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20121023123927.GB29281@arwen.pp.htv.fi>
Date: Tue, 23 Oct 2012 15:39:27 +0300
From: Felipe Balbi <balbi@...com>
To: Sekhar Nori <nsekhar@...com>
CC: Constantine Shulyupin <const@...eLinux.com>,
<gregkh@...uxfoundation.org>,
<davinci-linux-open-source@...ux.davincidsp.com>,
<linux-usb@...r.kernel.org>, <linux-kernel@...r.kernel.org>,
<balbi@...com>, <linux-arm-kernel@...ts.infradead.org>
Subject: Re: [PATCH] usb: remove CONFIG_USB_MUSB_HOST etc
Hi,
On Tue, Oct 23, 2012 at 06:04:53PM +0530, Sekhar Nori wrote:
> On 10/8/2012 6:47 PM, Constantine Shulyupin wrote:
> > From: Constantine Shulyupin <const@...eLinux.com>
> >
> > Remove USB configuration in arch/arm/mach-davinci/usb.c accordingly
> > CONFIG_USB_MUSB_OTG CONFIG_USB_MUSB_PERIPHERAL CONFIG_USB_MUSB_HOST
> > and set MUSB_OTG configuration by default
> > because this configuration options are removed from Kconfig.
> >
> > Signed-off-by: Constantine Shulyupin <const@...eLinux.com>
>
> Queuing this patch for v3.8. Since the config options are removed there
> is no use having code which refers to them. The patch has been tested on
> DM644x and DM365 in both host and gadget mode (I will add this
> information to commit text while committing). Without this patch .mode
> seems to be defaulting to MUSB_UNDEFINED which I think is definitely wrong.
sorry for the delay, this looks ok:
Acked-by: Felipe Balbi <balbi@...com>
>
> Thanks,
> Sekhar
>
> >
> > ---
> > arch/arm/mach-davinci/usb.c | 6 ------
> > 1 file changed, 6 deletions(-)
> >
> > diff --git a/arch/arm/mach-davinci/usb.c b/arch/arm/mach-davinci/usb.c
> > index f77b953..34509ff 100644
> > --- a/arch/arm/mach-davinci/usb.c
> > +++ b/arch/arm/mach-davinci/usb.c
> > @@ -42,14 +42,8 @@ static struct musb_hdrc_config musb_config = {
> > };
> >
> > static struct musb_hdrc_platform_data usb_data = {
> > -#if defined(CONFIG_USB_MUSB_OTG)
> > /* OTG requires a Mini-AB connector */
> > .mode = MUSB_OTG,
> > -#elif defined(CONFIG_USB_MUSB_PERIPHERAL)
> > - .mode = MUSB_PERIPHERAL,
> > -#elif defined(CONFIG_USB_MUSB_HOST)
> > - .mode = MUSB_HOST,
> > -#endif
> > .clock = "usb",
> > .config = &musb_config,
> > };
> >
--
balbi
Download attachment "signature.asc" of type "application/pgp-signature" (837 bytes)
Powered by blists - more mailing lists