ASoC: fsl: Drop formats limitation for imx-pcm-dma.c
authorNicolin Chen <Guangyu.Chen@freescale.com>
Thu, 24 Apr 2014 11:33:07 +0000 (19:33 +0800)
committerMark Brown <broonie@linaro.org>
Thu, 24 Apr 2014 12:14:26 +0000 (13:14 +0100)
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>
Signed-off-by: Mark Brown <broonie@linaro.org>
sound/soc/fsl/imx-pcm-dma.c

index 2585ae44e634feb6bab623b6afdf93c58c3b288f..0849b7b83f0a7df054bb62229d2afd742d7b2624 100644 (file)
@@ -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 */