Alsa-Devel Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Mark Brown <broonie@opensource.wolfsonmicro.com>
To: Sascha Hauer <s.hauer@pengutronix.de>,
	Javier Martin <javier.martin@vista-silicon.com>
Cc: alsa-devel@alsa-project.org,
	Mark Brown <broonie@opensource.wolfsonmicro.com>,
	Timur Tabi <timur@freescale.com>,
	Liam Girdwood <lrg@slimlogic.co.uk>
Subject: [PATCH 4/4] ASoC: Flag the i.MX SSI driver as using symmetric rates
Date: Fri,  8 Jan 2010 16:19:58 +0000	[thread overview]
Message-ID: <1262967598-4096-4-git-send-email-broonie@opensource.wolfsonmicro.com> (raw)
In-Reply-To: <1262967598-4096-1-git-send-email-broonie@opensource.wolfsonmicro.com>

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

  parent reply	other threads:[~2010-01-08 16:20 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-01-08 16:19 [PATCH 1/4] ASoC: Add a new imx-ssi sound driver Mark Brown
2010-01-08 16:19 ` [PATCH 2/4] ASoC: Fix i.MX audio build for i.MX3x Mark Brown
2010-01-08 16:19 ` [PATCH 3/4] ASoC: Convert new i.MX SSI driver to use static DAI array Mark Brown
2010-01-08 16:19 ` Mark Brown [this message]
2010-01-11 11:20   ` [PATCH 4/4] ASoC: Flag the i.MX SSI driver as using symmetric rates Sascha Hauer
2010-01-11 11:36     ` Mark Brown
2010-01-11 11:39       ` javier Martin
2010-01-11 11:51         ` Mark Brown
2010-01-11 15:51         ` Timur Tabi
2010-01-11 16:25           ` Mark Brown
2010-01-11 17:38             ` Sascha Hauer
2010-01-11 12:14       ` Sascha Hauer
2010-01-11 12:30         ` Mark Brown
2010-01-11  7:33 ` [PATCH 1/4] ASoC: Add a new imx-ssi sound driver javier Martin

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1262967598-4096-4-git-send-email-broonie@opensource.wolfsonmicro.com \
    --to=broonie@opensource.wolfsonmicro.com \
    --cc=alsa-devel@alsa-project.org \
    --cc=javier.martin@vista-silicon.com \
    --cc=lrg@slimlogic.co.uk \
    --cc=s.hauer@pengutronix.de \
    --cc=timur@freescale.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox