ALSA: azt3328: add custom AC97 semi-emulation use standard ALSA AC97 layer
authorAndreas Mohr <andi@lisas.de>
Fri, 18 Feb 2011 23:49:32 +0000 (00:49 +0100)
committerTakashi Iwai <tiwai@suse.de>
Sat, 19 Feb 2011 15:02:24 +0000 (16:02 +0100)
commitb5dc20cd21357ea3663d428e42fcf9d167bb7aa2
tree819bfb1b033be6a444b622cd63177c756d42c7d5
parent03c2d87a2112a6548aa3f9635e76d3611c3df53c
ALSA: azt3328: add custom AC97 semi-emulation use standard ALSA AC97 layer

Make use of the very flexible ALSA ac97 layer (hooks for custom I/O!)
on this weird AC97 copycat hardware,
via semi-extended I/O translation/emulation.

Some 5kB binary/loaded size saved (well... additional huge AC97 module
penalty not factored in, of course ;-P).
Given that the driver previously had 20kB that's not bad,
but the much more important thing is to have AC97 layer stress-tested
with a thoroughly weird AC97 copycat (or, simply put, if it were not for
this AC97 test aspect, this effort would merely have been a nut job ;).

Signed-off-by: Andreas Mohr <andi@lisas.de>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/Kconfig
sound/pci/azt3328.c