ASoC: rt5616: Add support sample rate to 192KHz
authorXing Zheng <zhengxing@rock-chips.com>
Fri, 29 Jan 2016 01:47:12 +0000 (01:47 +0000)
committerMark Brown <broonie@kernel.org>
Fri, 29 Jan 2016 11:29:14 +0000 (12:29 +0100)
Reference the TRM, the ALC5616 support one 24bit/8KHz ~ 192KHz
I2S/PCM Interface for stereo DAC and stereo ADC.

Signed-off-by: Xing Zheng <zhengxing@rock-chips.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/rt5616.c

index fdca63694b409e4ec061097a4fdb475a8c934237..3704d0716c04212143a056cde0e78cc50e2ac5c4 100644 (file)
@@ -1261,7 +1261,7 @@ static int rt5616_resume(struct snd_soc_codec *codec)
 #define rt5616_resume NULL
 #endif
 
-#define RT5616_STEREO_RATES SNDRV_PCM_RATE_8000_96000
+#define RT5616_STEREO_RATES SNDRV_PCM_RATE_8000_192000
 #define RT5616_FORMATS (SNDRV_PCM_FMTBIT_S16_LE | SNDRV_PCM_FMTBIT_S20_3LE | \
                        SNDRV_PCM_FMTBIT_S24_LE | SNDRV_PCM_FMTBIT_S8)