• Takashi Iwai's avatar
    ALSA: hda - Rearrange INPUT_PIN_ATTR_* · 5ec16d12
    Takashi Iwai authored
    Put INPUT_PIN_ATTR_FRONT after INPUT_PIN_ATTR_REAR, and define
    INPUT_PIN_ATTR_LAST to point to the last element.
    
    This is a preliminary work for cleaning up Realtek auto-mic parser.
    In the auto-mic implementation, the front panel is preferred over the
    rear panel.  By arranging the attr definitions like in this commit, we
    can simply use sort() for figuring out the priority order.
    Signed-off-by: default avatarTakashi Iwai <tiwai@suse.de>
    5ec16d12
hda_auto_parser.h 2.48 KB