From: Pavel Machek <pavel@ucw.cz>
To: Hans Verkuil <hverkuil@xs4all.nl>
Cc: linux-media@vger.kernel.org, Sakari Ailus <sakari.ailus@iki.fi>
Subject: Re: [git:media_tree/master] [media] Add device tree support to adp1653 flash driver
Date: Thu, 9 Apr 2015 09:30:55 +0200 [thread overview]
Message-ID: <20150409073054.GA20325@amd> (raw)
In-Reply-To: <55261B75.1070400@xs4all.nl>
Hi!
> Hi Pawel,
Me?
> This driver doesn't compile:
>
> On 04/08/2015 10:46 PM, Mauro Carvalho Chehab wrote:
> > This is an automatic generated email to let you know that the following patch were queued at the
> > http://git.linuxtv.org/cgit.cgi/media_tree.git tree:
> >
> > --- a/drivers/media/i2c/adp1653.c
> > +++ b/drivers/media/i2c/adp1653.c
> > @@ -306,9 +309,17 @@ adp1653_init_device(struct adp1653_flash *flash)
> > static int
> > __adp1653_set_power(struct adp1653_flash *flash, int on)
> > {
> > - int ret;
> > + int ret = 0;
> > +
> > + if (flash->platform_data->power) {
> > + ret = flash->platform_data->power(&flash->subdev, on);
> > + } else {
> > + gpio_set_value(flash->platform_data->power_gpio, on);
>
> The power_gpio field is not found in struct adp1653_platform_data.
Yes, int power_gpio should be added into that struct.
> Can you fix this?
>
> I'm also getting this warning:
Well, old version of patch was merged while new versions were getting
discussed / developed in another mail thread.
I guess best course of action is to drop this from Mauro's tree, as
conflicting patch exists in Sakari's tree...?
Thanks,
Pavel
--
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html
next prev parent reply other threads:[~2015-04-09 7:30 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <E1Yg11T-00074E-Hx@www.linuxtv.org>
2015-04-09 6:25 ` [git:media_tree/master] [media] Add device tree support to adp1653 flash driver Hans Verkuil
2015-04-09 7:30 ` Pavel Machek [this message]
2015-04-09 7:34 ` Hans Verkuil
2015-04-09 7:49 ` Sakari Ailus
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=20150409073054.GA20325@amd \
--to=pavel@ucw.cz \
--cc=hverkuil@xs4all.nl \
--cc=linux-media@vger.kernel.org \
--cc=sakari.ailus@iki.fi \
/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