[alsa-devel] [PATCH RFC 000/112] HD-audio generic parser improvements

Takashi Iwai tiwai at suse.de
Tue Jan 8 12:47:01 CET 2013


At Tue,  8 Jan 2013 12:37:53 +0100,
Takashi Iwai wrote:
> 
> Hi,
> 
> this is a large series of patches to implement the really generic
> HD-audio codec parser usable for various codecs.  It's based on the
> Realtek codec parser, so I started hacking patch_realtek.c for more
> generalization and improvements.  Then it's merged to the existing
> generic parser code, hda_generic.c, and let Realtek parser just uses
> this new parser code.  In the end, patch_realtek.c contains only
> the device specific fixups and the call of generic parser functions.
> 
> The series contains a few improvements in the HD-audio core code,
> some of which aren't really dependent on the generic parser code.
> They are just there as I've developed this for a couple of weeks.
> 
> After this patchset, most of other codecs can be migrated as well.
> Currently analog, ca0110, cirrus, cmedia, conexant and via codecs
> have been already rewritten (i.e. the own parser codes dropped).
> patch_sigmatel.c is still not converted yet, but can be done soon
> later.  I'm going to send the conversion patches for these codecs
> right after this series.
> 
> I don't expect to merge all conversions of codec parsers in 3.9
> kernel, but at least, the conversion of Realtek and this generic
> parser code addition can be merged to 3.9.  Maybe minor and easy ones
> like ca0110 and cmedia can be merged as well.

One thing I forgot to mention:
the whole patches are found in sound-unstable git tree
test/hda-gen-parser branch.
  git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound-unstable.git

The test/hda-migrate branch contains the patches for converting codec
drivers to use generic parser.


Takashi


More information about the Alsa-devel mailing list