All of lore.kernel.org
 help / color / mirror / Atom feed
From: David Ellingsworth <david@identd.dyndns.org>
To: Guennadi Liakhovetski <g.liakhovetski@gmx.de>
Cc: Marek Vasut <marek.vasut@gmail.com>,
	Linux Media Mailing List <linux-media@vger.kernel.org>
Subject: Re: V4L2: Add a v4l2-subdev (soc-camera) driver for OmniVision OV9640 sensor
Date: Mon, 14 Sep 2009 16:57:21 -0400	[thread overview]
Message-ID: <30353c3d0909141357g13506670j828a582d69d5c99c@mail.gmail.com> (raw)
In-Reply-To: <Pine.LNX.4.64.0909142211120.4359@axis700.grange>

On Mon, Sep 14, 2009 at 4:30 PM, Guennadi Liakhovetski
<g.liakhovetski@gmx.de> wrote:
> On Mon, 14 Sep 2009, Marek Vasut wrote:
>
>> Dne Po 14. září 2009 21:29:26 Guennadi Liakhovetski napsal(a):
>> > From: Marek Vasut <marek.vasut@gmail.com>
>> >
>> > Signed-off-by: Marek Vasut <marek.vasut@gmail.com>
>> > Signed-off-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de>
>> > ---
>> >
>> > Marek, please confirm, that this version is ok. I'll push it upstream for
>> > 2.6.32 then.
>>
>> No, it's not OK. You removed the RGB part. Either enclose those parts into ifdef
>> OV9640_RGB_BUGGY or preserve it in some other way. Someone will certainly want
>> to re-add RGB parts later and will have to figure it out all over again.
>
> Ok, make a proposal, how you would like to see it. But - I do not want
> commented out code, including "#ifdef MACRO_THAT_DOESNT_GET_DEFINED." I
> think, I described it in sufficient detail, so that re-adding that code
> should not take longer than 10 minutes for anyone sufficiently familiar
> with the code. Referencing another driver also has an advantage, that if
> we switch to imagebus or any other API, you don't get stale commented out
> code, but you look up updated code in a functional driver. But I am open
> to your ideas / but no commented out code, please.
>

I don't know much about this driver, but here's my $0.02. Since the
RGB code has known issues and this is a new driver, it is probably
best to submit it without the code for RGB support. As is, even
without direct support from the driver, users can retrieve RGB data
from the camera using libv4l. Your argument is therefore more or less
mute. If someone were to want to add RGB support to the driver, I'm
sure they'd prefer to have a clean and functional driver to work with
rather than wading through a bunch of dead/broken code.

Regards,

David Ellingsworth

  reply	other threads:[~2009-09-14 20:57 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-08-22  6:50 [PATCH 2/3] Add driver for OmniVision OV9640 sensor Marek Vasut
2009-08-24 18:06 ` Guennadi Liakhovetski
2009-09-04 20:25   ` Marek Vasut
2009-09-11 21:51     ` Guennadi Liakhovetski
2009-09-13 16:43       ` Marek Vasut
2009-09-13 19:13         ` Guennadi Liakhovetski
2009-09-14 14:35           ` Marek Vasut
2009-09-14 14:39             ` Marek Vasut
2009-09-14 14:45             ` Guennadi Liakhovetski
2009-09-14 16:29               ` Marek Vasut
2009-09-14 19:29                 ` V4L2: Add a v4l2-subdev (soc-camera) " Guennadi Liakhovetski
2009-09-14 20:02                   ` Marek Vasut
2009-09-14 20:30                     ` Guennadi Liakhovetski
2009-09-14 20:57                       ` David Ellingsworth [this message]
2009-09-14 21:15                       ` Marek Vasut
2009-09-14 21:21                         ` Guennadi Liakhovetski
2009-09-14 22:06                           ` Marek Vasut
2009-09-15 19:55                             ` Guennadi Liakhovetski
2009-09-15 21:38                               ` Marek Vasut
2009-09-14 14:26       ` [PATCH 2/3] Add " Marek Vasut
2009-09-14 14:41         ` Guennadi Liakhovetski

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=30353c3d0909141357g13506670j828a582d69d5c99c@mail.gmail.com \
    --to=david@identd.dyndns.org \
    --cc=g.liakhovetski@gmx.de \
    --cc=linux-media@vger.kernel.org \
    --cc=marek.vasut@gmail.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.