[alsa-devel] [PATCH] keywest: Convert to new-style i2c driver
Jean Delvare
khali at linux-fr.org
Tue Apr 21 11:44:13 CEST 2009
On Tue, 21 Apr 2009 11:23:00 +0200, Jean Delvare wrote:
> On Tue, 21 Apr 2009 08:31:00 +0200, Takashi Iwai wrote:
> > At Mon, 20 Apr 2009 22:56:59 +0200,
> > Jean Delvare wrote:
> > >
> > > The legacy i2c binding model is going away soon, so convert the ppc
> > > keywest sound driver to the new model or it will break.
> > >
> > > Signed-off-by: Jean Delvare <khali at linux-fr.org>
> > > Cc: Benjamin Herrenschmidt <benh at kernel.crashing.org>
> > > Cc: Takashi Iwai <tiwai at suse.de>
> > > ---
> > > Takashi, please push this patch to Linus quickly, as this is blocking
> > > the removal of the legacy i2c binding model, which is scheduled for
> > > 2.6.30.
> > >
> > > I did not get any test report for this one, but it's relatively simple
> > > so I am confident I got it right.
> >
> > Applied this one, too. Thanks.
>
> Thanks Takashi.
>
> BTW, I forgot to mention again that the new i2c binding model is
> functional since kernel 2.6.25, so for the external alsa driver tree
> you will want to guard these changes with appropriate ifdef magic.
Err, make that 2.6.30, sorry. While the infrastructure was there since
2.6.25, the way I converted the sound drivers doesn't fit in what
earlier kernels considered acceptable (the checks on which driver
methods were implemented was a little too strict IMHO). So the
converted drivers can only be used with kernels >= 2.6.30.
--
Jean Delvare
More information about the Alsa-devel
mailing list