[ALSA] #1/4 for Zoom Video - resolve common vs chipset specific mixer controls
authorMark Salazar <markTheCoder@justmyself.net>
Mon, 16 Jan 2006 10:29:09 +0000 (11:29 +0100)
committerJaroslav Kysela <perex@suse.cz>
Wed, 22 Mar 2006 09:23:52 +0000 (10:23 +0100)
commitc1f6d41593d3ef1f778fd6892cc4b916050c7cb9
tree573794c432dea568a81ad500b80390001838e0ae
parent415b09e4559b0c95666af3cebe918386212aef98
[ALSA] #1/4 for Zoom Video - resolve common vs chipset specific mixer controls

Modules: ES18xx driver

First of 4 es18xx.c patches culminating in Zoom Video support.
While adding support for Zoom Video to the es18xx driver I found some of
the mixer controls
were wrong. Since you guys went to the trouble of supplying the
datasheets for the supported
chipsets I did a review of all of them and tried to get es18xx.c to
accurately reflect the
proper mixer controls for each chipset. If the datasheets are wrong then
so are my patches.

This first patch moves some controls from the common-to-all-chipsets array
'snd_es18xx_base_controls' to a chipset-specific array and adds code to
manage that new array.
Also while testing on my ES1878 test machine I discovered it needed a
couple of udelays in
the identify function so those are in this patch as well.

Testing:
This work was initially done on the source from the Debian Sarge ALSA
package, then tested
on an ES1879 and an ES1878 machine. Patches were created against the
Sarge code and then edited
to apply correctly to the ALSA cvs code. Lastly the patched ALSA cvs
code was test for
successful compilation. No additional testing was done on the ALSA cvs
version.

Signed-off-by: Mark Salazar <markTheCoder@justmyself.net>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/isa/es18xx.c