• Takashi Iwai's avatar
    ALSA: hda - Refactor input-pin parser for VIA codecs · f3268512
    Takashi Iwai authored
    patch_via.c has redundant codes for parsing the input-pins.  Although
    they are pretty similar, but all implemented in different functions
    just because of hard-coded ids and slight incompatibilities.
    This patch refactors the codes to use the common helper function,
    resulting in the reduction of many lines.
    Signed-off-by: default avatarTakashi Iwai <tiwai@suse.de>
    f3268512
patch_via.c 165 KB