diff options
author | Takashi Iwai <tiwai@suse.de> | 2013-03-15 14:23:32 +0100 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2013-03-15 14:24:45 +0100 |
commit | 6d3073e124e1a6138b929479301d3a7ecde00f27 (patch) | |
tree | 88df6563cc2b91b674fee02d57195fb234918a3c /sound | |
parent | 57220bc1f5924c869d8fc049e50169915ca0cb24 (diff) | |
download | op-kernel-dev-6d3073e124e1a6138b929479301d3a7ecde00f27.zip op-kernel-dev-6d3073e124e1a6138b929479301d3a7ecde00f27.tar.gz |
ALSA: hda - Fix missing EAPD/GPIO setup for Cirrus codecs
During the transition to the generic parser, the hook to the codec
specific automute function was forgotten. This resulted in the silent
output on some MacBooks.
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound')
-rw-r--r-- | sound/pci/hda/patch_cirrus.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/sound/pci/hda/patch_cirrus.c b/sound/pci/hda/patch_cirrus.c index 72ebb8a..60d08f6 100644 --- a/sound/pci/hda/patch_cirrus.c +++ b/sound/pci/hda/patch_cirrus.c @@ -506,6 +506,8 @@ static int patch_cs420x(struct hda_codec *codec) if (!spec) return -ENOMEM; + spec->gen.automute_hook = cs_automute; + snd_hda_pick_fixup(codec, cs420x_models, cs420x_fixup_tbl, cs420x_fixups); snd_hda_apply_fixup(codec, HDA_FIXUP_ACT_PRE_PROBE); @@ -893,6 +895,8 @@ static int patch_cs4210(struct hda_codec *codec) if (!spec) return -ENOMEM; + spec->gen.automute_hook = cs_automute; + snd_hda_pick_fixup(codec, cs421x_models, cs421x_fixup_tbl, cs421x_fixups); snd_hda_apply_fixup(codec, HDA_FIXUP_ACT_PRE_PROBE); |