• Mark Salazar's avatar
    [ALSA] #1/4 for Zoom Video - resolve common vs chipset specific mixer controls · c1f6d415
    Mark Salazar authored
    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: default avatarMark Salazar <markTheCoder@justmyself.net>
    Signed-off-by: default avatarTakashi Iwai <tiwai@suse.de>
    c1f6d415
es18xx.c 65.7 KB