From: Paul Mundt <lethal@linux-sh.org>
To: linux-sh@vger.kernel.org
Subject: Re: [PATCH] soc-camera: fix compile breakage on SH
Date: Mon, 20 Oct 2008 12:45:39 +0000 [thread overview]
Message-ID: <20081020124539.GA20548@linux-sh.org> (raw)
In-Reply-To: <Pine.LNX.4.64.0810142335400.10458@axis700.grange>
On Mon, Oct 20, 2008 at 09:02:26AM +0200, Guennadi Liakhovetski wrote:
> On Mon, 20 Oct 2008, Paul Mundt wrote:
> > I don't like this. Keeping the enable and disable_camera interfaces
> > is really the way we want to go, evident by the fact that your new power
> > callback is forced to call in to one or the other anyways. I would rather
> > see these moved in to struct soc_camera_platform_info, rather than having
> > every single board in existence have to model that if (mode) on; else off
> > crap.
>
> The v4l counterpart of this patch has already been accepted. And since
> this is a compilation breakage fix, I think it would be better to apply it
> as is now, and then we can discuss better APIs.
>
I don't see how you can call this a fix, since it doesn't actually fix
the situation unless both parts are applied at the same time.
> Eventually, these power callback should disappear from struct
> soc_camera_platform_info and it should instead inclde struct
> soc_camera_link, which already has it. Then we can split "power" into a
> disable / enable pair.
>
That sounds fine.
> > Also, there is not much point in splitting these changes out. They are
> > coupled, and splitting them out only causes confusion (especially across
> > a bisect).
>
> This is why I originally have sent it as a single patch. But since I have
> got no acks I decided it would be easier to split it and have parts
> committed separately.
I am not interested in merging something that is broken until the v4l
tree syncs up. If the v4l part is already merged, then we don't have a
lot of choice in what to do on the platform side. I will take your
original patch that touches both the platform and the v4l code and merge
that, then later when the v4l code tries to sync up git merging should do
the right thing.
In the future, if you do not immediately get acks, please do not assume
it is because there is a problem with your approach and that you should
suddenly try random different approaches until you start getting
feedback. In my case I was traveling and was way behind on email.
Splitting patches up that depend on each other is not acceptable, since
you introduce breakage as soon as you change the API and fail to update
the users at the same time. Subsystems should absolutely not be merging
those sorts of changes, since this causes nothing but pain for the users
that only find out about the changes when the build blows up, as seems to
have been the case in the initial merge also.
next prev parent reply other threads:[~2008-10-20 12:45 UTC|newest]
Thread overview: 20+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-10-14 18:39 sh/boards/mach-migor/setup.c build error Adrian Bunk
2008-10-14 21:53 ` [PATCH] soc-camera: fix compile breakage on SH Guennadi Liakhovetski
2008-10-15 3:33 ` Adrian Bunk
2008-10-15 5:20 ` Adrian Bunk
2008-10-15 6:28 ` Magnus Damm
2008-10-15 6:41 ` Guennadi Liakhovetski
2008-10-15 8:03 ` Magnus Damm
2008-10-15 8:26 ` Guennadi Liakhovetski
2008-10-15 8:55 ` Magnus Damm
2008-10-15 9:07 ` Guennadi Liakhovetski
2008-10-15 10:52 ` [PATCH v2] " Guennadi Liakhovetski
2008-10-16 23:08 ` Guennadi Liakhovetski
2008-10-16 23:16 ` [PATCH] " Guennadi Liakhovetski
2008-10-20 4:09 ` Paul Mundt
2008-10-20 7:02 ` Guennadi Liakhovetski
2008-10-20 12:45 ` Paul Mundt [this message]
2008-10-20 13:00 ` Guennadi Liakhovetski
2008-10-20 13:08 ` Paul Mundt
2008-10-20 17:44 ` Guennadi Liakhovetski
2008-10-21 3:45 ` Paul Mundt
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=20081020124539.GA20548@linux-sh.org \
--to=lethal@linux-sh.org \
--cc=linux-sh@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