ALSA: hda - Don't re-initialize shared hp/mic pinctl
authorTakashi Iwai <tiwai@suse.de>
Mon, 11 Mar 2013 08:48:43 +0000 (09:48 +0100)
committerTakashi Iwai <tiwai@suse.de>
Mon, 11 Mar 2013 08:57:21 +0000 (09:57 +0100)
When a headphone pin is set up as a shared hp/mic pin, we rather want
to keep it as a headphone primarily as default, but the driver
overrides it always as a mic pin, just because the input controls are
created after outputs.  Add a check of pin NID and skip the
re-initialization of pinctl for such a shared hp/mic pin.

Reported-by: Jonathan Woithe <jwoithe@just42.net>
Signed-off-by: Takashi Iwai <tiwai@suse.de>

No differences found