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:
7ec30f0
)
ALSA: hda - Fix check of ALC888S-VC in alc888_coef_init()
author
Takashi Iwai
<tiwai@suse.de>
Thu, 5 Mar 2009 08:40:16 +0000
(09:40 +0100)
committer
Takashi Iwai
<tiwai@suse.de>
Thu, 5 Mar 2009 08:40:16 +0000
(09:40 +0100)
Fixed the wrong bits check to identify ALC888S-VC model in
alc888_coef_init().
Signed-off-by: Takashi Iwai <tiwai@suse.de>
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 91ef9f27b120dc22e9e5b923dbb1bf1723bf885f..6325ea43cf087f0fb288e7aeec82519b5ef651ed 100644
(file)
--- a/
sound/pci/hda/patch_realtek.c
+++ b/
sound/pci/hda/patch_realtek.c
@@
-982,7
+982,7
@@
static void alc888_coef_init(struct hda_codec *codec)
snd_hda_codec_write(codec, 0x20, 0, AC_VERB_SET_COEF_INDEX, 0);
tmp = snd_hda_codec_read(codec, 0x20, 0, AC_VERB_GET_PROC_COEF, 0);
snd_hda_codec_write(codec, 0x20, 0, AC_VERB_SET_COEF_INDEX, 7);
- if ((tmp & 0xf0) ==
2
)
+ if ((tmp & 0xf0) ==
0x20
)
/* alc888S-VC */
snd_hda_codec_read(codec, 0x20, 0,
AC_VERB_SET_PROC_COEF, 0x830);