lkml.org 
[lkml]   [2010]   [Aug]   [27]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: [PATCH] UCB1400: Pass ucb1400-gpio data through ac97 bus
Date
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@gmail.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@gmail.com> wrote:
> > > > Dne Po 9. srpna 2010 06:16:34 Marek Vasut napsal(a):
> > > > > Signed-off-by: Marek Vasut <marek.vasut@gmail.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@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2010-08-27 08:21    [W:0.043 / U:0.216 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site