ASoC: tlv320aic32x4: Allow 192000 Sample Rate
authorAnnaliese McDermond <nh6z@nh6z.net>
Fri, 22 Mar 2019 00:58:54 +0000 (17:58 -0700)
committerpopcornmix <popcornmix@gmail.com>
Mon, 13 May 2019 23:08:26 +0000 (00:08 +0100)
commit 6d56ee1550b8a81bc63c80051ff78d8d704b09ba upstream.

The clocking and processing blocks are now properly set up to
support 192000 sample rates.  Allow drivers to ask for that.

Signed-off-by: Annaliese McDermond <nh6z@nh6z.net>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/tlv320aic32x4.c

index 06988ef..707ca49 100644 (file)
@@ -859,7 +859,7 @@ static int aic32x4_set_bias_level(struct snd_soc_component *component,
        return 0;
 }
 
-#define AIC32X4_RATES  SNDRV_PCM_RATE_8000_96000
+#define AIC32X4_RATES  SNDRV_PCM_RATE_8000_192000
 #define AIC32X4_FORMATS (SNDRV_PCM_FMTBIT_S16_LE | SNDRV_PCM_FMTBIT_S20_3LE \
                         | SNDRV_PCM_FMTBIT_S24_3LE | SNDRV_PCM_FMTBIT_S32_LE)