From: Takashi Iwai Date: Thu, 7 Mar 2013 17:40:58 +0000 (+0100) Subject: ALSA: hda - Avoid automatic pin-ctl update for hp/mic when jack ctl exists X-Git-Tag: omap-for-v3.10/dt-fixes-for-merge-window~52^2~103 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8ba955cef30921417dffba901a8af5a2662a1dec;p=pandora-kernel.git ALSA: hda - Avoid automatic pin-ctl update for hp/mic when jack ctl exists When the headphone mic jack enum control is created (via explicitly specification by user), it doesn't make much sense to change the I/O direction dynamically per capture source change, since the I/O direction is rather controlled over the enum ctl. This also reduces the implicit dependency between the capture source and the hp mic jack enum ctls, which might confuse a program accessing the whole control elements at once like alsactl. In addition, this patch introduces update_hp_automute_hook() function to call the proper hook function. It's just to remove the open codes in multiple places in hda_generic.c. Signed-off-by: Takashi Iwai --- Reading git-diff-tree failed