• Andreas Mohr's avatar
    ALSA: azt3328: add custom AC97 semi-emulation use standard ALSA AC97 layer · b5dc20cd
    Andreas Mohr authored
    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: default avatarAndreas Mohr <andi@lisas.de>
    Signed-off-by: default avatarTakashi Iwai <tiwai@suse.de>
    b5dc20cd
azt3328.c 85.2 KB