ASoC: fsl: Drop formats limitation for imx-pcm-dma.c
diff mbox

Message ID 1398339187-12097-1-git-send-email-Guangyu.Chen@freescale.com
State Accepted
Commit e9ffb5ba4de17f14ca592e06a397c85541a72c7d
Headers show

Commit Message

Nicolin Chen April 24, 2014, 11:33 a.m. UTC
Now ASoC core is getting the intersection of supported formats not only
from CPU and CODEC dai's but also from DMA's. However, there should be
no specific width limitation from SDMA side.

So drop it. Otherwise, we would only support S16_LE format for all i.MX
platforms.

Signed-off-by: Nicolin Chen <Guangyu.Chen@freescale.com>
---
 sound/soc/fsl/imx-pcm-dma.c | 1 -
 1 file changed, 1 deletion(-)

Comments

Mark Brown April 24, 2014, 12:14 p.m. UTC | #1
On Thu, Apr 24, 2014 at 07:33:07PM +0800, Nicolin Chen wrote:
> Now ASoC core is getting the intersection of supported formats not only
> from CPU and CODEC dai's but also from DMA's. However, there should be
> no specific width limitation from SDMA side.

Applied, thanks.

Patch
diff mbox

diff --git a/sound/soc/fsl/imx-pcm-dma.c b/sound/soc/fsl/imx-pcm-dma.c
index 2585ae4..0849b7b 100644
--- a/sound/soc/fsl/imx-pcm-dma.c
+++ b/sound/soc/fsl/imx-pcm-dma.c
@@ -40,7 +40,6 @@  static const struct snd_pcm_hardware imx_pcm_hardware = {
 		SNDRV_PCM_INFO_MMAP_VALID |
 		SNDRV_PCM_INFO_PAUSE |
 		SNDRV_PCM_INFO_RESUME,
-	.formats = SNDRV_PCM_FMTBIT_S16_LE,
 	.buffer_bytes_max = IMX_SSI_DMABUF_SIZE,
 	.period_bytes_min = 128,
 	.period_bytes_max = 65535, /* Limited by SDMA engine */