mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Felipe Balbi <balbi@ti.com>
To: Neil Zhang <zhangwm@marvell.com>
Cc: Peter Chen <hzpeterchen@gmail.com>, Greg KH <gregkh@suse.de>,
	"balbi@ti.com" <balbi@ti.com>,
	Haojian Zhuang <hzhuang1@marvell.com>,
	"linux-usb@vger.kernel.org" <linux-usb@vger.kernel.org>,
	"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>
Subject: Re: [PATCH v1] USB: OTG should be linked before Host
Date: Thu, 24 Nov 2011 11:40:26 +0200	[thread overview]
Message-ID: <20111124094024.GL3352@legolas.emea.dhcp.ti.com> (raw)
In-Reply-To: <175CCF5F49938B4D99B2E3EF7F558EBE19FD172883@SC-VEXCH4.marvell.com>

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

On Wed, Nov 23, 2011 at 11:19:44PM -0800, Neil Zhang wrote:
> > -----Original Message-----
> > From: Peter Chen [mailto:hzpeterchen@gmail.com]
> > Sent: 2011年11月24日 14:06
> > To: Greg KH
> > Cc: Neil Zhang; balbi@ti.com; Haojian Zhuang; linux-usb@vger.kernel.org
> > Subject: Re: [PATCH v1] USB: OTG should be linked before Host
> > 
> > On Thu, Nov 24, 2011 at 12:17 AM, Greg KH <gregkh@suse.de> wrote:
> > > On Wed, Nov 23, 2011 at 06:38:48PM +0800, Neil Zhang wrote:
> > >> For OTG controller, the host driver will call function
> > >> otg_get_transceiver to get the otg transceiver, so we need to init
> > the
> > >> OTG driver before HOST.
> > >
> > I agree with it, at freescale i.mx platform, we also need to init otg
> > first, then the host
> > if otg function is enabled.
> > 
> > > How do you handle this if these drivers are built as modules?
> > We require the user load module by order, and write it at UserGuide.
> > 
> > I find at older kernel version, like 2.6.38, the otg was built firstly
> > at usb module.
> 
> Actually, it was changed by the following patch.
> 
> commit 4661ffc91befc8c5ee080720120da1d53851060a
> Author: Felipe Balbi <balbi@ti.com>
> Date:   Thu Apr 7 10:59:34 2011 +0300
> 
>     usb: don't enter usb subdirectories directly
> 
>     Instead, make we enter usb/ directory on all
>     needed cases and enter the subdirectories from
>     drivers/usb/Makefile.
> 
>     Signed-off-by: Felipe Balbi <balbi@ti.com>
>     Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
> 
> Hi Balbi,
> Do you have any concern to change it?

not from my side, we need the transceivers before the DRD controllers
can probe.

FWIW:

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

-- 
balbi

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

      reply	other threads:[~2011-11-24  9:40 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <1322044728-27080-1-git-send-email-zhangwm@marvell.com>
     [not found] ` <20111123161759.GA27000@suse.de>
     [not found]   ` <CAL411-o0k_=HN+LH4Vx07=DTPOhs6iZuDXjdo1daBHov85Etaw@mail.gmail.com>
2011-11-24  7:19     ` Neil Zhang
2011-11-24  9:40       ` Felipe Balbi [this message]

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=20111124094024.GL3352@legolas.emea.dhcp.ti.com \
    --to=balbi@ti.com \
    --cc=gregkh@suse.de \
    --cc=hzhuang1@marvell.com \
    --cc=hzpeterchen@gmail.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-usb@vger.kernel.org \
    --cc=zhangwm@marvell.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®