snd-soc.patch 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. diff -Nur linux-3.10.30.orig/sound/soc/fsl/imx-pcm.h linux-3.10.30/sound/soc/fsl/imx-pcm.h
  2. --- linux-3.10.30.orig/sound/soc/fsl/imx-pcm.h 2014-05-16 15:37:16.208483825 +0200
  3. +++ linux-3.10.30/sound/soc/fsl/imx-pcm.h 2014-05-16 15:39:24.369237997 +0200
  4. @@ -36,7 +36,7 @@
  5. dma_data->peripheral_type = IMX_DMATYPE_SSI;
  6. }
  7. -#ifdef CONFIG_SND_SOC_IMX_PCM_DMA
  8. +#if IS_ENABLED(CONFIG_SND_SOC_IMX_PCM_DMA)
  9. int imx_pcm_dma_init(struct platform_device *pdev, unsigned int flags, size_t size);
  10. void imx_pcm_dma_exit(struct platform_device *pdev);
  11. #else
  12. @@ -51,7 +51,7 @@
  13. }
  14. #endif
  15. -#ifdef CONFIG_SND_SOC_IMX_PCM_FIQ
  16. +#if IS_ENABLED(CONFIG_SND_SOC_IMX_PCM_FIQ)
  17. int imx_pcm_fiq_init(struct platform_device *pdev);
  18. void imx_pcm_fiq_exit(struct platform_device *pdev);
  19. #else
  20. diff -Nur linux-3.10.30.orig/sound/soc/fsl/Kconfig linux-3.10.30/sound/soc/fsl/Kconfig
  21. --- linux-3.10.30.orig/sound/soc/fsl/Kconfig 2014-05-16 15:37:16.208483825 +0200
  22. +++ linux-3.10.30/sound/soc/fsl/Kconfig 2014-05-16 15:37:59.632739735 +0200
  23. @@ -121,15 +121,15 @@
  24. tristate
  25. config SND_SOC_IMX_PCM_FIQ
  26. - bool
  27. + tristate
  28. select FIQ
  29. config SND_SOC_IMX_PCM_DMA
  30. - bool
  31. + tristate
  32. select SND_SOC_GENERIC_DMAENGINE_PCM
  33. config SND_SOC_IMX_HDMI_DMA
  34. - bool
  35. + tristate
  36. select SND_SOC_GENERIC_DMAENGINE_PCM
  37. select SND_SOC_IMX_PCM_DMA