projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ebb4724
)
ALSA: hda - Fix Realtek's chained fixup checks
author
Takashi Iwai
<tiwai@suse.de>
Mon, 2 May 2011 11:55:36 +0000
(13:55 +0200)
committer
Takashi Iwai
<tiwai@suse.de>
Mon, 2 May 2011 11:55:36 +0000
(13:55 +0200)
The check of chained fixup list entry was done against the wrong element.
A stupid mistake during refactoring.
Cc: <stable@kernel.org>
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 3091e0c8ed082a2a7c389fb915d6ca392023702b..c82979a8cd0930026e84eced9fa684d4c4ccac84 100644
(file)
--- a/
sound/pci/hda/patch_realtek.c
+++ b/
sound/pci/hda/patch_realtek.c
@@
-1704,11
+1704,11
@@
static void alc_apply_fixup(struct hda_codec *codec, int action)
codec->chip_name, fix->type);
break;
}
- if (!fix
[id].
chained)
+ if (!fix
->
chained)
break;
if (++depth > 10)
break;
- id = fix
[id].
chain_id;
+ id = fix
->
chain_id;
}
}