From: Igor Grinberg <grinberg@compulab.co.il>
To: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Cc: javier Martin <javier.martin@vista-silicon.com>,
linux-media@vger.kernel.org, beagleboard@googlegroups.com,
carlighting@yahoo.co.nz, g.liakhovetski@gmx.de,
linux-arm-kernel@lists.infradead.org,
"linux-omap@vger.kernel.org" <linux-omap@vger.kernel.org>
Subject: Re: [PATCH v2 2/2] OMAP3BEAGLE: Add support for mt9p031 sensor driver.
Date: Mon, 23 May 2011 20:03:46 +0300 [thread overview]
Message-ID: <4DDA9372.5060200@compulab.co.il> (raw)
In-Reply-To: <201105230947.15775.laurent.pinchart@ideasonboard.com>
On 05/23/11 10:47, Laurent Pinchart wrote:
> Hi Javier,
>
> On Monday 23 May 2011 09:25:01 javier Martin wrote:
>> On 22 May 2011 15:49, Igor Grinberg <grinberg@compulab.co.il> wrote:
> [snip]
>
>>>> @@ -309,6 +357,15 @@ static int beagle_twl_gpio_setup(struct device
>>>> *dev, pr_err("%s: unable to configure EHCI_nOC\n", __func__); }
>>>>
>>>> + if (omap3_beagle_get_rev() == OMAP3BEAGLE_BOARD_XM) {
>>>> + /*
>>>> + * Power on camera interface - only on pre-production, not
>>>> + * needed on production boards
>>>> + */
>>>> + gpio_request(gpio + 2, "CAM_EN");
>>>> + gpio_direction_output(gpio + 2, 1);
>>> Why not gpio_request_one()?
>> Just to follow the same approach as in the rest of the code.
>> Maybe a further patch could change all "gpio_request()" uses to
>> "gpio_request_one()".
> Please do it the other way around. Replace calls to gpio_request() +
> gpio_direction_output() with a call to gpio_request_one(), and then modify
> this patch to use gpio_request_one().
Well, this is done already, you need to follow Tony's linux-next branch...
So, just changing this patch would do...
Also, good practice is to base patches on maintainer's appropriate branch,
so it would be easier to apply.
--
Regards,
Igor.
next prev parent reply other threads:[~2011-05-23 17:03 UTC|newest]
Thread overview: 23+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-05-20 13:47 [PATCH v2 1/2] MT9P031: Add support for Aptina mt9p031 sensor Javier Martin
2011-05-20 13:47 ` [PATCH v2 2/2] OMAP3BEAGLE: Add support for mt9p031 sensor driver Javier Martin
2011-05-20 15:57 ` [beagleboard] " Koen Kooi
2011-05-23 7:01 ` javier Martin
2011-05-23 8:00 ` Laurent Pinchart
2011-05-23 8:55 ` Koen Kooi
2011-05-23 9:14 ` Laurent Pinchart
2011-05-22 13:49 ` Igor Grinberg
2011-05-23 7:25 ` javier Martin
2011-05-23 7:47 ` Laurent Pinchart
2011-05-23 17:03 ` Igor Grinberg [this message]
2011-05-21 12:55 ` [PATCH v2 1/2] MT9P031: Add support for Aptina mt9p031 sensor Mauro Carvalho Chehab
2011-05-22 20:41 ` Laurent Pinchart
2011-05-21 15:29 ` Guennadi Liakhovetski
2011-05-23 8:20 ` javier Martin
2011-05-23 8:48 ` Guennadi Liakhovetski
2011-05-23 9:08 ` Laurent Pinchart
2011-05-23 9:03 ` Laurent Pinchart
2011-05-23 9:26 ` Guennadi Liakhovetski
2011-05-24 8:31 ` javier Martin
2011-05-24 8:39 ` Laurent Pinchart
2011-05-24 8:56 ` javier Martin
2011-05-24 8:58 ` Laurent Pinchart
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=4DDA9372.5060200@compulab.co.il \
--to=grinberg@compulab.co.il \
--cc=beagleboard@googlegroups.com \
--cc=carlighting@yahoo.co.nz \
--cc=g.liakhovetski@gmx.de \
--cc=javier.martin@vista-silicon.com \
--cc=laurent.pinchart@ideasonboard.com \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-media@vger.kernel.org \
--cc=linux-omap@vger.kernel.org \
/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