[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <s5hk5b71rex.wl%tiwai@suse.de>
Date: Thu, 13 Nov 2008 18:12:22 +0100
From: Takashi Iwai <tiwai@...e.de>
To: Andres Salomon <dilinger@...ued.net>
Cc: Pavel Machek <pavel@...e.cz>, Jeremy Katz <katzj@...hat.com>,
Ingo Molnar <mingo@...e.hu>,
Thomas Gleixner <tglx@...utronix.de>,
Jordan Crouse <jordan.crouse@....com>,
linux-kernel@...r.kernel.org, dsaxena@...top.org
Subject: Re: [PATCH] ALSA: cs5535audio: only build OLPC support if MGEODE_LX is defined
At Thu, 13 Nov 2008 17:31:59 +0100,
I wrote:
>
> At Thu, 13 Nov 2008 11:14:28 -0500,
> Andres Salomon wrote:
> >
> > On Thu, 13 Nov 2008 16:54:19 +0100
> > Takashi Iwai <tiwai@...e.de> wrote:
> >
> > > At Thu, 13 Nov 2008 16:37:14 +0100,
> > > Pavel Machek wrote:
> > [...]
> > > >
> > > > > IMO, the basic problem is rather that the platform and the CPU
> > > > > selection is mixed up. The geode GPIO stuff shouldn't belong to
> > > > > CPU selection.
> > > >
> > > > ACK... and suggested patch makes it worse.
> > > >
> > > > There should be option 'support OLPC' somewhere, and that should
> > > > enable the gpio bits. Alsa driver should depend on that one.
> > >
> > > Any better fix patch is welcome, of course :)
> > > This would make save a lot time than writing mails...
> > >
> > >
> > > thanks,
> > >
> > > Takashi
> >
> >
> > Okay, how about something like the following?
>
> Actually, this is exactly what I made at first.
> But, as asm/olpc.h is already dependent on GEODE, I decided to fix
> rather CONFIG_OLPC.
I forgot another thing. The cs5535audio.h includes #ifdef CONFIG_OLPC
for OLPC-specific codes. This has to be fixed as well...
thanks,
Takashi
--
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