• Andreas Mohr's avatar
    ALSA: azt3328 - fix broken AZF_FMT_XLATE macro · c9ba374d
    Andreas Mohr authored
    Cleanly revert to non-macro implementation of
    snd_azf3328_codec_setfmt(), to fix last-minute functionality breakage
    induced by following checkpatch.pl recommendations without giving them
    their due full share of thought ("revolting computer, ensuing PEBKAC").
    
    I would like to thank Jiri Slaby for his very timely (in -rc1 even)
    and unexpected (uncommon hardware) "recognition of the dangerous situation"
    due to his very commendable static parser use. :)
    Reported-by: default avatarJiri Slaby <jslaby@suse.cz>
    Signed-off-by: default avatarAndreas Mohr <andi@lisas.de>
    Signed-off-by: default avatarTakashi Iwai <tiwai@suse.de>
    c9ba374d
azt3328.c 75.7 KB