[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <201008270817.12179.marek.vasut@gmail.com>
Date: Fri, 27 Aug 2010 08:17:12 +0200
From: Marek Vasut <marek.vasut@...il.com>
To: Andrew Morton <akpm@...ux-foundation.org>
Cc: linux-kernel@...r.kernel.org, sameo@...ux.intel.com, dtor@...l.ru,
adobriyan@...il.com, tj@...nel.org,
Eric Miao <eric.y.miao@...il.com>
Subject: Re: [PATCH] UCB1400: Pass ucb1400-gpio data through ac97 bus
Dne Pá 27. srpna 2010 08:14:19 Andrew Morton napsal(a):
> On Fri, 27 Aug 2010 07:50:37 +0200 Marek Vasut <marek.vasut@...il.com> wrote:
> > Dne P__ 27. srpna 2010 01:07:36 Andrew Morton napsal(a):
> > > On Mon, 9 Aug 2010 06:43:14 +0200
> > >
> > > Marek Vasut <marek.vasut@...il.com> wrote:
> > > > Dne Po 9. srpna 2010 06:16:34 Marek Vasut napsal(a):
> > > > > Signed-off-by: Marek Vasut <marek.vasut@...il.com>
> > >
> > > Please don't send unchangelogged patches.
> >
> > Unchangelogged? What do you mean ?
>
> Patches which don't have any changelog. This patch was sent with no
> covering explanation.
>
> > > The title tells us what the patch does but provides no hint as to why
> > > it does it.
>
> As I indicated. The title tells us what the patch does but didn't tell
> us *why* it does it. Apparently it is preparatory work for some other
> patch?
Ah, stupid me, I see, just checked the patch.
The point is, some time ago (about one year ago ... but certainly after the
ucb1400 was split into multiple chunks and ucb1400-gpio was added), there was no
way to pass platform data to devices attached to ac97 bus. That's why there was
that function "ucb1400_gpio_set_data()".
That's not true anymore, we can just pass the pdata through the ac97 bus to the
mfd part of ucb1400 driver (ucb1400-core), which then registers the gpio part of
ucb1400. This patch actually makes it possible to pass the pdata through the
ac97 bus instead.
>
> > > > > ---
> > > > >
> > > > > drivers/gpio/ucb1400_gpio.c | 19 ++++++-------------
> > > > > drivers/mfd/ucb1400_core.c | 5 +++++
> > > > > include/linux/ucb1400.h | 19 ++++++-------------
> > > > > 3 files changed, 17 insertions(+), 26 deletions(-)
> > > >
> > > > Ah right, guys, if possible, let this go through Eric Miao's tree (as
> > > > I have changes that depend on this). Thanks!
> > >
> > > He's probably unaware of the patch. Let's cc him.
> >
> > I have this one in my tree and I sent it to Eric as a part of larger
> > patchset.
>
> Recently, I assume - it wasn't in this morning's linux-next.
It was sent to linux-arm-kernel as most of the patches were for linux-arm . I
sent this one especially on it's own to reduce useless traffic. I'll remember
this next time.
Cheers
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists