diff options
author | Takashi Iwai <tiwai@suse.de> | 2013-09-11 06:38:45 -0400 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2013-09-11 06:38:45 -0400 |
commit | 3d0049e8529adaa36c38a7b400792f6c37b66c92 (patch) | |
tree | 7d2e30a5e3f12207305ffc76d80d310c0a95fdcc /sound/pci/hda | |
parent | be8cf44526d8972c2dbf6e561162dad924a712a5 (diff) | |
parent | 2ae2caff8348378c9e464353e9860ee97583c00b (diff) |
Merge tag 'asoc-v3.12-4' of git://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound into for-linus
ASoC: Fixes for v3.12
A few small fixes, nothing with any broad impact but all useful for the
affected systems. The Kirkwood compatible string change is fixing up a
string just added in the merge window so that we don't get any changes
in released kernels.
Diffstat (limited to 'sound/pci/hda')
-rw-r--r-- | sound/pci/hda/patch_hdmi.c | 3 | ||||
-rw-r--r-- | sound/pci/hda/patch_realtek.c | 1 |
2 files changed, 4 insertions, 0 deletions
diff --git a/sound/pci/hda/patch_hdmi.c b/sound/pci/hda/patch_hdmi.c index 3a15225d6982..3d8cd04455a6 100644 --- a/sound/pci/hda/patch_hdmi.c +++ b/sound/pci/hda/patch_hdmi.c | |||
@@ -1798,6 +1798,9 @@ static int generic_hdmi_build_controls(struct hda_codec *codec) | |||
1798 | struct snd_pcm_chmap *chmap; | 1798 | struct snd_pcm_chmap *chmap; |
1799 | struct snd_kcontrol *kctl; | 1799 | struct snd_kcontrol *kctl; |
1800 | int i; | 1800 | int i; |
1801 | |||
1802 | if (!codec->pcm_info[pin_idx].pcm) | ||
1803 | break; | ||
1801 | err = snd_pcm_add_chmap_ctls(codec->pcm_info[pin_idx].pcm, | 1804 | err = snd_pcm_add_chmap_ctls(codec->pcm_info[pin_idx].pcm, |
1802 | SNDRV_PCM_STREAM_PLAYBACK, | 1805 | SNDRV_PCM_STREAM_PLAYBACK, |
1803 | NULL, 0, pin_idx, &chmap); | 1806 | NULL, 0, pin_idx, &chmap); |
diff --git a/sound/pci/hda/patch_realtek.c b/sound/pci/hda/patch_realtek.c index d38d6a04eb67..bc07d369fac4 100644 --- a/sound/pci/hda/patch_realtek.c +++ b/sound/pci/hda/patch_realtek.c | |||
@@ -4546,6 +4546,7 @@ static const struct hda_fixup alc662_fixups[] = { | |||
4546 | 4546 | ||
4547 | static const struct snd_pci_quirk alc662_fixup_tbl[] = { | 4547 | static const struct snd_pci_quirk alc662_fixup_tbl[] = { |
4548 | SND_PCI_QUIRK(0x1019, 0x9087, "ECS", ALC662_FIXUP_ASUS_MODE2), | 4548 | SND_PCI_QUIRK(0x1019, 0x9087, "ECS", ALC662_FIXUP_ASUS_MODE2), |
4549 | SND_PCI_QUIRK(0x1025, 0x022f, "Acer Aspire One", ALC662_FIXUP_INV_DMIC), | ||
4549 | SND_PCI_QUIRK(0x1025, 0x0308, "Acer Aspire 8942G", ALC662_FIXUP_ASPIRE), | 4550 | SND_PCI_QUIRK(0x1025, 0x0308, "Acer Aspire 8942G", ALC662_FIXUP_ASPIRE), |
4550 | SND_PCI_QUIRK(0x1025, 0x031c, "Gateway NV79", ALC662_FIXUP_SKU_IGNORE), | 4551 | SND_PCI_QUIRK(0x1025, 0x031c, "Gateway NV79", ALC662_FIXUP_SKU_IGNORE), |
4551 | SND_PCI_QUIRK(0x1025, 0x0349, "eMachines eM250", ALC662_FIXUP_INV_DMIC), | 4552 | SND_PCI_QUIRK(0x1025, 0x0349, "eMachines eM250", ALC662_FIXUP_INV_DMIC), |