summaryrefslogtreecommitdiffstats
path: root/sound/soc/fsl/imx-pcm-dma.c
diff options
context:
space:
mode:
authorNicolin Chen2014-04-24 13:33:07 +0200
committerMark Brown2014-04-24 14:14:26 +0200
commite9ffb5ba4de17f14ca592e06a397c85541a72c7d (patch)
tree569f6b4530c5ec6286688ef44c8cebf5bdfd117c /sound/soc/fsl/imx-pcm-dma.c
parentASoC: fsl: Add explicit include of of.h (diff)
downloadkernel-qcow2-linux-e9ffb5ba4de17f14ca592e06a397c85541a72c7d.tar.gz
kernel-qcow2-linux-e9ffb5ba4de17f14ca592e06a397c85541a72c7d.tar.xz
kernel-qcow2-linux-e9ffb5ba4de17f14ca592e06a397c85541a72c7d.zip
ASoC: fsl: Drop formats limitation for imx-pcm-dma.c
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>
Diffstat (limited to 'sound/soc/fsl/imx-pcm-dma.c')
-rw-r--r--sound/soc/fsl/imx-pcm-dma.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/sound/soc/fsl/imx-pcm-dma.c b/sound/soc/fsl/imx-pcm-dma.c
index 2585ae44e634..0849b7b83f0a 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 */