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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxxxxxxxxxxxxxxxxx>
---
 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

_______________________________________________
Alsa-devel mailing list
Alsa-devel@xxxxxxxxxxxxxxxx
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel

[Index of Archives]     [ALSA User]     [Linux Audio Users]     [Kernel Archive]     [Asterisk PBX]     [Photo Sharing]     [Linux Sound]     [Video 4 Linux]     [Gimp]     [Yosemite News]

  Powered by Linux