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

Hi Mark,

On Fri, Jan 08, 2010 at 04:19:58PM +0000, Mark Brown wrote:
> 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,

Why this limitation? I can successfully record with 16000Hz while
playing at 48000Hz on my PCM037 board. What is missing in the driver to
'officially' support asymmetric rates?

Sascha


-- 
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |

  reply	other threads:[~2010-01-11 11: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 ` [PATCH 4/4] ASoC: Flag the i.MX SSI driver as using symmetric rates Mark Brown
2010-01-11 11:20   ` Sascha Hauer [this message]
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=20100111112047.GT6923@pengutronix.de \
    --to=s.hauer@pengutronix.de \
    --cc=alsa-devel@alsa-project.org \
    --cc=broonie@opensource.wolfsonmicro.com \
    --cc=javier.martin@vista-silicon.com \
    --cc=lrg@slimlogic.co.uk \
    --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