diff options
author | Chih-Chung Chang <chihchung@chromium.org> | 2013-08-05 12:38:42 +0400 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2013-08-05 13:19:59 +0400 |
commit | bde7bc6014a0a6f63cff42211ccd9b7129ce2df9 (patch) | |
tree | e351f28d2c775384b0e7657333b2355a7e72627c /sound/usb/pcm.c | |
parent | da96fb5b0185d27faab0746f872d22b0cee7b026 (diff) | |
download | linux-bde7bc6014a0a6f63cff42211ccd9b7129ce2df9.tar.xz |
ALSA: hda - Fix jack gating when auto_{mute,mic} is suppressed.
The snd_hda_jack_set_gating_jack() call didn't work when
auto_{mute,mic} is suppressed because (1) am_entry is
not filled with nid of the mic pin. (2) The jacks are not
created (by snd_hda_jack_detect_enable_callback) before the
snd_hda_jack_set_gating_jack call.
Now we use the first input pin nid directly, and create the jack if it
doesn't exist yet.
Signed-off-by: Chih-Chung Chang <chihchung@chromium.org>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/usb/pcm.c')
0 files changed, 0 insertions, 0 deletions