aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorXing Zheng <zhengxing@rock-chips.com>2016-01-29 01:47:12 +0000
committerCaesar Wang <wxt@rock-chips.com>2016-02-03 09:25:25 +0800
commit2c65322773df7cbddf08e1aaba7f608310455034 (patch)
tree9a8581b37e7df8d86d800e7c0b986115f914d477
parent40ec189879b8d1d8d68fdd4b28fa97ed2f97b2f6 (diff)
downloadv4.1-2c65322773df7cbddf08e1aaba7f608310455034.tar.gz
UPSTREAM: 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> Bug: 25923642 Patchset: Support to playback the 8KHz for audio. (cherry picked from git.kernel.org mmind/linux-rockchip.git v4.6-armsoc/dts32 commit 4e26ad80cbd3a6b0d606201892e81a9a9c6864ce) Signed-off-by: Caesar Wang <wxt@rock-chips.com> Change-Id: I74fdc71d3e84a53dda5516257ababf7927338fb0
-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 2d12f7d454a..6f4af99c6c7 100644
--- a/sound/soc/codecs/rt5616.c
+++ b/sound/soc/codecs/rt5616.c
@@ -1218,7 +1218,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)