mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Felipe Balbi <balbi@ti.com>
To: Sekhar Nori <nsekhar@ti.com>
Cc: Constantine Shulyupin <const@MakeLinux.com>,
	<gregkh@linuxfoundation.org>,
	<davinci-linux-open-source@linux.davincidsp.com>,
	<linux-usb@vger.kernel.org>, <linux-kernel@vger.kernel.org>,
	<balbi@ti.com>, <linux-arm-kernel@lists.infradead.org>
Subject: Re: [PATCH] usb: remove CONFIG_USB_MUSB_HOST etc
Date: Tue, 23 Oct 2012 15:39:27 +0300	[thread overview]
Message-ID: <20121023123927.GB29281@arwen.pp.htv.fi> (raw)
In-Reply-To: <50868EED.7050909@ti.com>

[-- Attachment #1: Type: text/plain, Size: 1826 bytes --]

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@MakeLinux.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@MakeLinux.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@ti.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

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 836 bytes --]

  reply	other threads:[~2012-10-23 12:45 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-10-08 13:17 Constantine Shulyupin
2012-10-11  5:42 ` Manjunathappa, Prakash
2012-10-11  6:35   ` Heiko Schocher
2012-10-11  8:50     ` Sekhar Nori
2012-10-11 10:06       ` Constantine Shulyupin
2012-10-23 12:34 ` Sekhar Nori
2012-10-23 12:39   ` Felipe Balbi [this message]
2012-10-24 11:10     ` Sekhar Nori

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=20121023123927.GB29281@arwen.pp.htv.fi \
    --to=balbi@ti.com \
    --cc=const@MakeLinux.com \
    --cc=davinci-linux-open-source@linux.davincidsp.com \
    --cc=gregkh@linuxfoundation.org \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-usb@vger.kernel.org \
    --cc=nsekhar@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®