[v3] ASoC: fsl-sai: add 32 bit word length support
diff mbox

Message ID 69f72120dad256225cbe771207e0f6b84a8f93df.1439262749.git.zidan.wang@freescale.com
State Accepted
Commit 9b7493d00c06013fb9192ea23cc83a1a2d003d61
Headers show

Commit Message

Zidan Wang Aug. 11, 2015, 3:14 a.m. UTC
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>
---
 sound/soc/fsl/fsl_sai.h | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

Comments

Nicolin Chen Aug. 11, 2015, 7:02 a.m. UTC | #1
On Tue, Aug 11, 2015 at 11:14:26AM +0800, Zidan Wang wrote:
> 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>

> ---
>  sound/soc/fsl/fsl_sai.h | 3 ++-
>  1 file changed, 2 insertions(+), 1 deletion(-)
> 
> diff --git a/sound/soc/fsl/fsl_sai.h b/sound/soc/fsl/fsl_sai.h
> index 0662809..d137290 100644
> --- a/sound/soc/fsl/fsl_sai.h
> +++ b/sound/soc/fsl/fsl_sai.h
> @@ -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 */
> -- 
> 1.9.1
>

Patch
diff mbox

diff --git a/sound/soc/fsl/fsl_sai.h b/sound/soc/fsl/fsl_sai.h
index 0662809..d137290 100644
--- a/sound/soc/fsl/fsl_sai.h
+++ b/sound/soc/fsl/fsl_sai.h
@@ -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 */