ASoC: fsl-sai: add 32 bit word length support
authorZidan Wang <zidan.wang@freescale.com>
Tue, 11 Aug 2015 03:14:26 +0000 (11:14 +0800)
committerMark Brown <broonie@kernel.org>
Tue, 11 Aug 2015 18:37:06 +0000 (19:37 +0100)
Add 32 bit word length support. There are no code changes required
in the SAI driver since it has already wirten the word width to the
corresponding register.

Signed-off-by: Zidan Wang <zidan.wang@freescale.com>
Acked-by: Nicolin Chen <nicoleotsuka@gmail.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/fsl/fsl_sai.h

index 066280953c8503bd03d2dc1a2469004978215e1a..d1372904c61f53c11528f9c3d8e8d0dfd5a41338 100644 (file)
@@ -13,7 +13,8 @@
 
 #define FSL_SAI_FORMATS (SNDRV_PCM_FMTBIT_S16_LE |\
                         SNDRV_PCM_FMTBIT_S20_3LE |\
-                        SNDRV_PCM_FMTBIT_S24_LE)
+                        SNDRV_PCM_FMTBIT_S24_LE |\
+                        SNDRV_PCM_FMTBIT_S32_LE)
 
 /* SAI Register Map Register */
 #define FSL_SAI_TCSR   0x00 /* SAI Transmit Control */