From: Takashi Iwai Date: Mon, 11 Mar 2013 08:48:43 +0000 (+0100) Subject: ALSA: hda - Don't re-initialize shared hp/mic pinctl X-Git-Tag: omap-for-v3.10/dt-fixes-for-merge-window~52^2~101 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=93c9d8ae0b25ab7845b26813da1a326d2b1fea43;p=pandora-kernel.git ALSA: hda - Don't re-initialize shared hp/mic pinctl 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 Signed-off-by: Takashi Iwai --- Reading git-diff-tree failed