projects
/
GitHub
/
exynos8895
/
android_kernel_samsung_universal8895.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b8dbed0
)
ALSA: hda - Fix ALC662 beep again
author
Takashi Iwai
<tiwai@suse.de>
Mon, 16 Mar 2009 14:25:00 +0000
(15:25 +0100)
committer
Takashi Iwai
<tiwai@suse.de>
Mon, 16 Mar 2009 14:26:01 +0000
(15:26 +0100)
The previous commit breaks the (digital-) beep on ALC662.
ALC662 has the connection index 0x05 while ALC662 and ALC272 have the
index 0x04 for the beep widget.
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/hda/patch_realtek.c
patch
|
blob
|
blame
|
history
diff --git
a/sound/pci/hda/patch_realtek.c
b/sound/pci/hda/patch_realtek.c
index 672103d84ffc1a2118b1b235ac1f1426ab034133..5ad0f8d72ddb4a450347035ea008e7575517cf78 100644
(file)
--- a/
sound/pci/hda/patch_realtek.c
+++ b/
sound/pci/hda/patch_realtek.c
@@
-16951,7
+16951,10
@@
static int patch_alc662(struct hda_codec *codec)
if (!spec->cap_mixer)
set_capture_mixer(spec);
- set_beep_amp(spec, 0x0b, 0x04, HDA_INPUT);
+ if (codec->vendor_id == 0x10ec0662)
+ set_beep_amp(spec, 0x0b, 0x05, HDA_INPUT);
+ else
+ set_beep_amp(spec, 0x0b, 0x04, HDA_INPUT);
spec->vmaster_nid = 0x02;