summaryrefslogtreecommitdiffstats
path: root/sound/pci/hda
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2011-05-02 13:58:23 +0200
committerTakashi Iwai <tiwai@suse.de>2011-05-02 13:58:23 +0200
commit20ec8b24636e2d43435a27a55dbb7e8331c563ca (patch)
tree587de6c0d4f84b0420f33f2e590113107ebf4336 /sound/pci/hda
parent90dd48a1a941d0efd413ce011895e3b6edd49b9a (diff)
parent24af2b1cc418d6791b1d9e56bf6070cccb752db3 (diff)
Merge branch 'fix/hda' into topic/hda
Diffstat (limited to 'sound/pci/hda')
-rw-r--r--sound/pci/hda/patch_realtek.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sound/pci/hda/patch_realtek.c b/sound/pci/hda/patch_realtek.c
index 0f2b52aeb40..c9f77152e07 100644
--- a/sound/pci/hda/patch_realtek.c
+++ b/sound/pci/hda/patch_realtek.c
@@ -1948,11 +1948,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;
}
}