summaryrefslogtreecommitdiff
path: root/sound/soc/codecs/rt5616.c
diff options
context:
space:
mode:
authorXing Zheng <zhengxing@rock-chips.com>2016-01-29 04:47:12 +0300
committerMark Brown <broonie@kernel.org>2016-01-29 14:29:14 +0300
commit4e26ad80cbd3a6b0d606201892e81a9a9c6864ce (patch)
tree7020f0b9e99971b12a2717ee41bbd954be22d9a6 /sound/soc/codecs/rt5616.c
parent76d3204eaa9364a662f0fe0f075dfe61e6bd14fe (diff)
downloadlinux-4e26ad80cbd3a6b0d606201892e81a9a9c6864ce.tar.xz
ASoC: rt5616: Add support sample rate to 192KHz
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>
Diffstat (limited to 'sound/soc/codecs/rt5616.c')
-rw-r--r--sound/soc/codecs/rt5616.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/soc/codecs/rt5616.c b/sound/soc/codecs/rt5616.c
index fdca63694b40..3704d0716c04 100644
--- a/sound/soc/codecs/rt5616.c
+++ b/sound/soc/codecs/rt5616.c
@@ -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)