From: Jacob Chen Date: Fri, 15 Jul 2016 01:43:49 +0000 (+0800) Subject: UPSTREAM: ASoC: rt5616: Add support sample rate to 192KHz X-Git-Tag: firefly_0821_release~2137 X-Git-Url: http://plrg.eecs.uci.edu/git/?a=commitdiff_plain;h=e328f0ad8c68beb9d23490e1bbf13dcc79aaf1f2;p=firefly-linux-kernel-4.4.55.git 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 Signed-off-by: Mark Brown Bug: 27307957 Patchset: fetch the upstream ASoC for rk3036 kylin board. (cherry picked from git.kernel.org broonie/sound.git for-next commit 4e26ad80cbd3a6b0d606201892e81a9a9c6864ce) Signed-off-by: Caesar Wang Change-Id: I1751e2c663689d4a45cd94d609c0b61d1ac9237b Signed-off-by: Jacob Chen --- 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)