public inbox for alsa-devel@alsa-project.org
 help / color / mirror / Atom feed
* [PATCH v2] ASoC: fsl-sai: add 32 bit word length support
@ 2015-08-10  2:43 Zidan Wang
  2015-08-10 20:24 ` Timur Tabi
  0 siblings, 1 reply; 3+ messages in thread
From: Zidan Wang @ 2015-08-10  2:43 UTC (permalink / raw)
  To: nicoleotsuka; +Cc: alsa-devel, timur, Zidan Wang, Xiubo.Lee, tiwai, broonie

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 | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/sound/soc/fsl/fsl_sai.h b/sound/soc/fsl/fsl_sai.h
index 0662809..40280ce 100644
--- a/sound/soc/fsl/fsl_sai.h
+++ b/sound/soc/fsl/fsl_sai.h
@@ -1,5 +1,5 @@
 /*
- * Copyright 2012-2013 Freescale Semiconductor, Inc.
+ * Copyright 2012-2015 Freescale Semiconductor, Inc.
  *
  * This program is free software; you can redistribute it and/or modify
  * it under the terms of the GNU General Public License version 2 as
@@ -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

^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2015-08-11  3:06 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-08-10  2:43 [PATCH v2] ASoC: fsl-sai: add 32 bit word length support Zidan Wang
2015-08-10 20:24 ` Timur Tabi
2015-08-11  1:56   ` Zidan Wang

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox