ALSA: hda - More strict correction of invalid pinctl bits
authorTakashi Iwai <tiwai@suse.de>
Thu, 10 Jan 2013 07:56:46 +0000 (08:56 +0100)
committerTakashi Iwai <tiwai@suse.de>
Sat, 12 Jan 2013 07:44:27 +0000 (08:44 +0100)
Check more strictly about the validity of pinctl values in
snd_hda_set_pin_ctl() and correct the wrong bits automatically.
Also provide the helper function to correct pinctl bits to codec
drivers.

This automatically fixes the invalid pinctl writes that are found in
a few Realtek fixups for NID 0x0f amp like ASUS A6Rp.

Signed-off-by: Takashi Iwai <tiwai@suse.de>

No differences found