Skip to content
Commit 5ec16d12 authored by Takashi Iwai's avatar Takashi Iwai
Browse files

ALSA: hda - Rearrange INPUT_PIN_ATTR_*



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>
parent 7e35dd3d
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment