[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20150818140718.GA9143@saruman.tx.rr.com>
Date: Tue, 18 Aug 2015 09:07:18 -0500
From: Felipe Balbi <balbi@...com>
To: Mark Brown <broonie@...nel.org>
CC: Felipe Balbi <balbi@...com>, Peter Chen <peter.chen@...escale.com>,
Baolin Wang <baolin.wang@...aro.org>,
<linus.walleij@...aro.org>, <linux-kernel@...r.kernel.org>,
<gregkh@...uxfoundation.org>, <sojka@...ica.cz>,
<stern@...land.harvard.edu>, <r.baldyga@...sung.com>,
<yoshihiro.shimoda.uh@...esas.com>, <linux-usb@...r.kernel.org>,
<device-mainlining@...ts.linuxfoundation.org>, <sre@...nel.org>,
<dbaryshkov@...il.com>, <dwmw2@...radead.org>,
<sameo@...ux.intel.com>, <lee.jones@...aro.org>,
<patches@...nsource.wolfsonmicro.com>, <linux-pm@...r.kernel.org>
Subject: Re: [PATCH v2 3/3] power: wm831x_power: Support USB charger current
limit management
On Mon, Aug 17, 2015 at 10:04:05PM -0700, Mark Brown wrote:
> On Mon, Aug 17, 2015 at 06:58:16PM -0500, Felipe Balbi wrote:
> > On Mon, Aug 17, 2015 at 10:26:23AM -0700, Mark Brown wrote:
> > > On Mon, Aug 17, 2015 at 09:07:08AM +0800, Peter Chen wrote:
> > > > On Fri, Aug 14, 2015 at 05:47:46PM +0800, Baolin Wang wrote:
>
> > > > > + if (wm831x_pdata && wm831x_pdata->usb_gadget) {
>
> > > > Where the wm831x_pdata->usb_gadget is initialized?
>
> > > It's platform data, it will be initialised by whatever registers the
> > > platform data.
>
> > passing pointers through pdata ?
>
> It's a char * to a name, not a pointer to struct.
aha, fair enough.
--
balbi
Download attachment "signature.asc" of type "application/pgp-signature" (820 bytes)
Powered by blists - more mailing lists