ASoC: imx-ssi: Fix AC97 rates
authorSascha Hauer <s.hauer@pengutronix.de>
Sun, 10 Mar 2013 18:33:02 +0000 (19:33 +0100)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Tue, 12 Mar 2013 18:51:38 +0000 (18:51 +0000)
This device supports multiple rates as described in later AC97
standards. This patch allows playback of different sample frequencies
without conversion.

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Signed-off-by: Markus Pargmann <mpa@pengutronix.de>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
sound/soc/fsl/imx-ssi.c

index 55464a5b0706161fffd7c94bc3c524f4b3e40224..7ee0147ec3cd5755e4815d14b3d028489dad7b15 100644 (file)
@@ -400,7 +400,7 @@ static struct snd_soc_dai_driver imx_ac97_dai = {
                .stream_name = "AC97 Playback",
                .channels_min = 2,
                .channels_max = 2,
-               .rates = SNDRV_PCM_RATE_48000,
+               .rates = SNDRV_PCM_RATE_8000_48000,
                .formats = SNDRV_PCM_FMTBIT_S16_LE,
        },
        .capture = {