OSDN Git Service
(root)
/
sagit-ice-cold
/
kernel_xiaomi_msm8998.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9e216e8
)
ALSA: hda-intel - fix function_id rework (add missing bitmask)
author
Jaroslav Kysela
<perex@perex.cz>
Tue, 20 Jul 2010 10:11:25 +0000
(12:11 +0200)
committer
Jaroslav Kysela
<perex@perex.cz>
Tue, 20 Jul 2010 10:13:25 +0000
(12:13 +0200)
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
sound/pci/hda/hda_codec.c
patch
|
blob
|
history
diff --git
a/sound/pci/hda/hda_codec.c
b/sound/pci/hda/hda_codec.c
index
6e0de65
..
3252945
100644
(file)
--- a/
sound/pci/hda/hda_codec.c
+++ b/
sound/pci/hda/hda_codec.c
@@
-731,7
+731,7
@@
static void /*__devinit*/ setup_fg_nodes(struct hda_codec *codec)
for (i = 0; i < total_nodes; i++, nid++) {
function_id = snd_hda_param_read(codec, nid,
AC_PAR_FUNCTION_TYPE);
- switch (function_id) {
+ switch (function_id
& 0xff
) {
case AC_GRP_AUDIO_FUNCTION:
codec->afg = nid;
codec->afg_function_id = function_id & 0xff;