diff options
-rw-r--r-- | sound/soc/codecs/wm8961.c | 4 | ||||
-rw-r--r-- | sound/soc/nuc900/nuc900-ac97.c | 2 | ||||
-rw-r--r-- | sound/soc/omap/omap-mcbsp.c | 8 | ||||
-rw-r--r-- | sound/soc/omap/omap3pandora.c | 1 |
4 files changed, 12 insertions, 3 deletions
diff --git a/sound/soc/codecs/wm8961.c b/sound/soc/codecs/wm8961.c index a0bb972420b3..6b22ef200e20 100644 --- a/sound/soc/codecs/wm8961.c +++ b/sound/soc/codecs/wm8961.c | |||
@@ -710,7 +710,7 @@ static int wm8961_hw_params(struct snd_pcm_substream *substream, | |||
710 | if (fs <= 24000) | 710 | if (fs <= 24000) |
711 | reg |= WM8961_DACSLOPE; | 711 | reg |= WM8961_DACSLOPE; |
712 | else | 712 | else |
713 | reg &= WM8961_DACSLOPE; | 713 | reg &= ~WM8961_DACSLOPE; |
714 | snd_soc_write(codec, WM8961_ADC_DAC_CONTROL_2, reg); | 714 | snd_soc_write(codec, WM8961_ADC_DAC_CONTROL_2, reg); |
715 | 715 | ||
716 | return 0; | 716 | return 0; |
@@ -735,7 +735,7 @@ static int wm8961_set_sysclk(struct snd_soc_dai *dai, int clk_id, | |||
735 | freq /= 2; | 735 | freq /= 2; |
736 | } else { | 736 | } else { |
737 | dev_dbg(codec->dev, "Using MCLK/1 for %dHz MCLK\n", freq); | 737 | dev_dbg(codec->dev, "Using MCLK/1 for %dHz MCLK\n", freq); |
738 | reg &= WM8961_MCLKDIV; | 738 | reg &= ~WM8961_MCLKDIV; |
739 | } | 739 | } |
740 | 740 | ||
741 | snd_soc_write(codec, WM8961_CLOCKING1, reg); | 741 | snd_soc_write(codec, WM8961_CLOCKING1, reg); |
diff --git a/sound/soc/nuc900/nuc900-ac97.c b/sound/soc/nuc900/nuc900-ac97.c index 293dc748797c..e00e39dd6576 100644 --- a/sound/soc/nuc900/nuc900-ac97.c +++ b/sound/soc/nuc900/nuc900-ac97.c | |||
@@ -384,7 +384,6 @@ out0: | |||
384 | 384 | ||
385 | static int __devexit nuc900_ac97_drvremove(struct platform_device *pdev) | 385 | static int __devexit nuc900_ac97_drvremove(struct platform_device *pdev) |
386 | { | 386 | { |
387 | |||
388 | snd_soc_unregister_dai(&pdev->dev); | 387 | snd_soc_unregister_dai(&pdev->dev); |
389 | 388 | ||
390 | clk_put(nuc900_ac97_data->clk); | 389 | clk_put(nuc900_ac97_data->clk); |
@@ -392,6 +391,7 @@ static int __devexit nuc900_ac97_drvremove(struct platform_device *pdev) | |||
392 | release_mem_region(nuc900_ac97_data->res->start, | 391 | release_mem_region(nuc900_ac97_data->res->start, |
393 | resource_size(nuc900_ac97_data->res)); | 392 | resource_size(nuc900_ac97_data->res)); |
394 | 393 | ||
394 | kfree(nuc900_ac97_data); | ||
395 | nuc900_ac97_data = NULL; | 395 | nuc900_ac97_data = NULL; |
396 | 396 | ||
397 | return 0; | 397 | return 0; |
diff --git a/sound/soc/omap/omap-mcbsp.c b/sound/soc/omap/omap-mcbsp.c index d211c9fa5a91..7e84f24b9a88 100644 --- a/sound/soc/omap/omap-mcbsp.c +++ b/sound/soc/omap/omap-mcbsp.c | |||
@@ -644,15 +644,23 @@ static int omap_mcbsp_dai_set_dai_sysclk(struct snd_soc_dai *cpu_dai, | |||
644 | 644 | ||
645 | 645 | ||
646 | case OMAP_MCBSP_CLKR_SRC_CLKR: | 646 | case OMAP_MCBSP_CLKR_SRC_CLKR: |
647 | if (cpu_class_is_omap1()) | ||
648 | break; | ||
647 | omap2_mcbsp1_mux_clkr_src(CLKR_SRC_CLKR); | 649 | omap2_mcbsp1_mux_clkr_src(CLKR_SRC_CLKR); |
648 | break; | 650 | break; |
649 | case OMAP_MCBSP_CLKR_SRC_CLKX: | 651 | case OMAP_MCBSP_CLKR_SRC_CLKX: |
652 | if (cpu_class_is_omap1()) | ||
653 | break; | ||
650 | omap2_mcbsp1_mux_clkr_src(CLKR_SRC_CLKX); | 654 | omap2_mcbsp1_mux_clkr_src(CLKR_SRC_CLKX); |
651 | break; | 655 | break; |
652 | case OMAP_MCBSP_FSR_SRC_FSR: | 656 | case OMAP_MCBSP_FSR_SRC_FSR: |
657 | if (cpu_class_is_omap1()) | ||
658 | break; | ||
653 | omap2_mcbsp1_mux_fsr_src(FSR_SRC_FSR); | 659 | omap2_mcbsp1_mux_fsr_src(FSR_SRC_FSR); |
654 | break; | 660 | break; |
655 | case OMAP_MCBSP_FSR_SRC_FSX: | 661 | case OMAP_MCBSP_FSR_SRC_FSX: |
662 | if (cpu_class_is_omap1()) | ||
663 | break; | ||
656 | omap2_mcbsp1_mux_fsr_src(FSR_SRC_FSX); | 664 | omap2_mcbsp1_mux_fsr_src(FSR_SRC_FSX); |
657 | break; | 665 | break; |
658 | default: | 666 | default: |
diff --git a/sound/soc/omap/omap3pandora.c b/sound/soc/omap/omap3pandora.c index bff9864e7615..8047c521e318 100644 --- a/sound/soc/omap/omap3pandora.c +++ b/sound/soc/omap/omap3pandora.c | |||
@@ -307,6 +307,7 @@ static int __init omap3pandora_soc_init(void) | |||
307 | pr_err(PREFIX "Failed to get DAC regulator from %s: %ld\n", | 307 | pr_err(PREFIX "Failed to get DAC regulator from %s: %ld\n", |
308 | dev_name(&omap3pandora_snd_device->dev), | 308 | dev_name(&omap3pandora_snd_device->dev), |
309 | PTR_ERR(omap3pandora_dac_reg)); | 309 | PTR_ERR(omap3pandora_dac_reg)); |
310 | ret = PTR_ERR(omap3pandora_dac_reg); | ||
310 | goto fail3; | 311 | goto fail3; |
311 | } | 312 | } |
312 | 313 | ||