projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
092f9cd
)
ALSA: hda - Fix Line Out automute on Realtek multifunction jacks
author
David Henningsson
<
[email protected]
>
Tue, 12 Nov 2013 10:10:57 +0000
(11:10 +0100)
committer
Takashi Iwai
<
[email protected]
>
Tue, 12 Nov 2013 10:35:31 +0000
(11:35 +0100)
In case there is both a multifunction headset jack and a Line Out
jack, automuting was not working properly from the Line Out jack.
This patch fixes that issue.
Cc:
[email protected]
(3.10+)
BugLink:
https://bugs.launchpad.net/bugs/1250377
Tested-by: Cyrus Lien <
[email protected]
>
Signed-off-by: David Henningsson <
[email protected]
>
Signed-off-by: Takashi Iwai <
[email protected]
>
sound/pci/hda/patch_realtek.c
patch
|
blob
|
history
diff --git
a/sound/pci/hda/patch_realtek.c
b/sound/pci/hda/patch_realtek.c
index 24d924d563aa9753b20816db5dddab0f8441528e..04d1e6be600e509b94b6592442b1003465d8542f 100644
(file)
--- a/
sound/pci/hda/patch_realtek.c
+++ b/
sound/pci/hda/patch_realtek.c
@@
-3344,8
+3344,10
@@
static void alc_update_headset_mode(struct hda_codec *codec)
else
new_headset_mode = ALC_HEADSET_MODE_HEADPHONE;
- if (new_headset_mode == spec->current_headset_mode)
+ if (new_headset_mode == spec->current_headset_mode) {
+ snd_hda_gen_update_outputs(codec);
return;
+ }
switch (new_headset_mode) {
case ALC_HEADSET_MODE_UNPLUGGED: