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:
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
|
blame
|
history
diff --git
a/sound/pci/hda/hda_codec.c
b/sound/pci/hda/hda_codec.c
index 6e0de65f1f3aea6a6cd3f6d8b3c4b7de43900fb0..3252945f3743a6e7a8f7d633440ff6c7a75c0252 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;