[alsa-devel] [PATCH 4/4] ASoC: Flag the i.MX SSI driver as using symmetric rates

Mark Brown broonie at opensource.wolfsonmicro.com
Fri Jan 8 17:19:58 CET 2010


While the hardware is fully asymmetric the driver currently forces
a symmetric configuration so flag that up in the capabilities to
avoid breakage - when the driver is able to do symmetry the flag
can be dropped.

Signed-off-by: Mark Brown <broonie at opensource.wolfsonmicro.com>
---
 sound/soc/imx/imx-ssi.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/sound/soc/imx/imx-ssi.c b/sound/soc/imx/imx-ssi.c
index ccb7ec9..cfaf715 100644
--- a/sound/soc/imx/imx-ssi.c
+++ b/sound/soc/imx/imx-ssi.c
@@ -357,6 +357,8 @@ static struct snd_soc_dai imx_ssi_dai = {
 		.formats = SNDRV_PCM_FMTBIT_S16_LE,
 	},
 	.ops = &imx_ssi_pcm_dai_ops,
+	/* Hardware is asymmetric but the driver isn't yet */
+	.symmetric_rates = 1,
 };
 
 int snd_imx_pcm_mmap(struct snd_pcm_substream *substream,
-- 
1.6.6



More information about the Alsa-devel mailing list