diff options
Diffstat (limited to 'sound')
-rw-r--r-- | sound/isa/opti9xx/opti92x-ad1848.c | 8 | ||||
-rw-r--r-- | sound/pci/hda/patch_hdmi.c | 3 | ||||
-rw-r--r-- | sound/pci/hda/patch_realtek.c | 1 | ||||
-rw-r--r-- | sound/soc/atmel/atmel_ssc_dai.c | 2 | ||||
-rw-r--r-- | sound/soc/fsl/Kconfig | 1 | ||||
-rw-r--r-- | sound/soc/fsl/imx-audmux.c | 3 |
6 files changed, 10 insertions, 8 deletions
diff --git a/sound/isa/opti9xx/opti92x-ad1848.c b/sound/isa/opti9xx/opti92x-ad1848.c index 103b33373fd4..6effe99bbb9c 100644 --- a/sound/isa/opti9xx/opti92x-ad1848.c +++ b/sound/isa/opti9xx/opti92x-ad1848.c | |||
@@ -173,11 +173,7 @@ MODULE_DEVICE_TABLE(pnp_card, snd_opti9xx_pnpids); | |||
173 | 173 | ||
174 | #endif /* CONFIG_PNP */ | 174 | #endif /* CONFIG_PNP */ |
175 | 175 | ||
176 | #ifdef OPTi93X | 176 | #define DEV_NAME KBUILD_MODNAME |
177 | #define DEV_NAME "opti93x" | ||
178 | #else | ||
179 | #define DEV_NAME "opti92x" | ||
180 | #endif | ||
181 | 177 | ||
182 | static char * snd_opti9xx_names[] = { | 178 | static char * snd_opti9xx_names[] = { |
183 | "unknown", | 179 | "unknown", |
@@ -1167,7 +1163,7 @@ static int snd_opti9xx_pnp_resume(struct pnp_card_link *pcard) | |||
1167 | 1163 | ||
1168 | static struct pnp_card_driver opti9xx_pnpc_driver = { | 1164 | static struct pnp_card_driver opti9xx_pnpc_driver = { |
1169 | .flags = PNP_DRIVER_RES_DISABLE, | 1165 | .flags = PNP_DRIVER_RES_DISABLE, |
1170 | .name = "opti9xx", | 1166 | .name = DEV_NAME, |
1171 | .id_table = snd_opti9xx_pnpids, | 1167 | .id_table = snd_opti9xx_pnpids, |
1172 | .probe = snd_opti9xx_pnp_probe, | 1168 | .probe = snd_opti9xx_pnp_probe, |
1173 | .remove = snd_opti9xx_pnp_remove, | 1169 | .remove = snd_opti9xx_pnp_remove, |
diff --git a/sound/pci/hda/patch_hdmi.c b/sound/pci/hda/patch_hdmi.c index 895a0d3320b4..24d82d6c3464 100644 --- a/sound/pci/hda/patch_hdmi.c +++ b/sound/pci/hda/patch_hdmi.c | |||
@@ -1782,6 +1782,9 @@ static int generic_hdmi_build_controls(struct hda_codec *codec) | |||
1782 | struct snd_pcm_chmap *chmap; | 1782 | struct snd_pcm_chmap *chmap; |
1783 | struct snd_kcontrol *kctl; | 1783 | struct snd_kcontrol *kctl; |
1784 | int i; | 1784 | int i; |
1785 | |||
1786 | if (!codec->pcm_info[pin_idx].pcm) | ||
1787 | break; | ||
1785 | err = snd_pcm_add_chmap_ctls(codec->pcm_info[pin_idx].pcm, | 1788 | err = snd_pcm_add_chmap_ctls(codec->pcm_info[pin_idx].pcm, |
1786 | SNDRV_PCM_STREAM_PLAYBACK, | 1789 | SNDRV_PCM_STREAM_PLAYBACK, |
1787 | NULL, 0, pin_idx, &chmap); | 1790 | NULL, 0, pin_idx, &chmap); |
diff --git a/sound/pci/hda/patch_realtek.c b/sound/pci/hda/patch_realtek.c index 4a909170b59e..9e9378cde8fa 100644 --- a/sound/pci/hda/patch_realtek.c +++ b/sound/pci/hda/patch_realtek.c | |||
@@ -4490,6 +4490,7 @@ static const struct hda_fixup alc662_fixups[] = { | |||
4490 | 4490 | ||
4491 | static const struct snd_pci_quirk alc662_fixup_tbl[] = { | 4491 | static const struct snd_pci_quirk alc662_fixup_tbl[] = { |
4492 | SND_PCI_QUIRK(0x1019, 0x9087, "ECS", ALC662_FIXUP_ASUS_MODE2), | 4492 | SND_PCI_QUIRK(0x1019, 0x9087, "ECS", ALC662_FIXUP_ASUS_MODE2), |
4493 | SND_PCI_QUIRK(0x1025, 0x022f, "Acer Aspire One", ALC662_FIXUP_INV_DMIC), | ||
4493 | SND_PCI_QUIRK(0x1025, 0x0308, "Acer Aspire 8942G", ALC662_FIXUP_ASPIRE), | 4494 | SND_PCI_QUIRK(0x1025, 0x0308, "Acer Aspire 8942G", ALC662_FIXUP_ASPIRE), |
4494 | SND_PCI_QUIRK(0x1025, 0x031c, "Gateway NV79", ALC662_FIXUP_SKU_IGNORE), | 4495 | SND_PCI_QUIRK(0x1025, 0x031c, "Gateway NV79", ALC662_FIXUP_SKU_IGNORE), |
4495 | SND_PCI_QUIRK(0x1025, 0x0349, "eMachines eM250", ALC662_FIXUP_INV_DMIC), | 4496 | SND_PCI_QUIRK(0x1025, 0x0349, "eMachines eM250", ALC662_FIXUP_INV_DMIC), |
diff --git a/sound/soc/atmel/atmel_ssc_dai.c b/sound/soc/atmel/atmel_ssc_dai.c index 0ecf356027f6..bb53dea85b17 100644 --- a/sound/soc/atmel/atmel_ssc_dai.c +++ b/sound/soc/atmel/atmel_ssc_dai.c | |||
@@ -649,7 +649,7 @@ static int atmel_ssc_prepare(struct snd_pcm_substream *substream, | |||
649 | dma_params = ssc_p->dma_params[dir]; | 649 | dma_params = ssc_p->dma_params[dir]; |
650 | 650 | ||
651 | ssc_writel(ssc_p->ssc->regs, CR, dma_params->mask->ssc_enable); | 651 | ssc_writel(ssc_p->ssc->regs, CR, dma_params->mask->ssc_enable); |
652 | ssc_writel(ssc_p->ssc->regs, IER, dma_params->mask->ssc_error); | 652 | ssc_writel(ssc_p->ssc->regs, IDR, dma_params->mask->ssc_error); |
653 | 653 | ||
654 | pr_debug("%s enabled SSC_SR=0x%08x\n", | 654 | pr_debug("%s enabled SSC_SR=0x%08x\n", |
655 | dir ? "receive" : "transmit", | 655 | dir ? "receive" : "transmit", |
diff --git a/sound/soc/fsl/Kconfig b/sound/soc/fsl/Kconfig index 704e246f5b1e..b7ab71f2ccc1 100644 --- a/sound/soc/fsl/Kconfig +++ b/sound/soc/fsl/Kconfig | |||
@@ -198,6 +198,7 @@ config SND_SOC_IMX_SPDIF | |||
198 | select SND_SOC_IMX_PCM_DMA | 198 | select SND_SOC_IMX_PCM_DMA |
199 | select SND_SOC_FSL_SPDIF | 199 | select SND_SOC_FSL_SPDIF |
200 | select SND_SOC_SPDIF | 200 | select SND_SOC_SPDIF |
201 | select REGMAP_MMIO | ||
201 | help | 202 | help |
202 | SoC Audio support for i.MX boards with S/PDIF | 203 | SoC Audio support for i.MX boards with S/PDIF |
203 | Say Y if you want to add support for SoC audio on an i.MX board with | 204 | Say Y if you want to add support for SoC audio on an i.MX board with |
diff --git a/sound/soc/fsl/imx-audmux.c b/sound/soc/fsl/imx-audmux.c index ab17381cc981..d3bf71a0ec56 100644 --- a/sound/soc/fsl/imx-audmux.c +++ b/sound/soc/fsl/imx-audmux.c | |||
@@ -335,7 +335,8 @@ static int imx_audmux_probe(struct platform_device *pdev) | |||
335 | if (audmux_type == IMX31_AUDMUX) | 335 | if (audmux_type == IMX31_AUDMUX) |
336 | audmux_debugfs_init(); | 336 | audmux_debugfs_init(); |
337 | 337 | ||
338 | imx_audmux_parse_dt_defaults(pdev, pdev->dev.of_node); | 338 | if (of_id) |
339 | imx_audmux_parse_dt_defaults(pdev, pdev->dev.of_node); | ||
339 | 340 | ||
340 | return 0; | 341 | return 0; |
341 | } | 342 | } |