summaryrefslogtreecommitdiffstats
path: root/sound/soc/rockchip
diff options
context:
space:
mode:
authorRomain Perier <romain.perier@collabora.com>2017-03-01 10:11:07 +0100
committerMark Brown <broonie@kernel.org>2017-03-06 11:40:46 +0100
commit2e589fdc35c281fe1b1abe8a70004022ca504cf7 (patch)
tree03039c6d56b39df9aca6bb31f64d285dddaec5e6 /sound/soc/rockchip
parentc1ae3cfa0e89fa1a7ecc4c99031f5e9ae99d9201 (diff)
downloadlinux-2e589fdc35c281fe1b1abe8a70004022ca504cf7.tar.gz
linux-2e589fdc35c281fe1b1abe8a70004022ca504cf7.tar.bz2
linux-2e589fdc35c281fe1b1abe8a70004022ca504cf7.zip
ASoC: rockchip: Enable 192khz in hw_params operation
As the sampling frequency is supported by es8328 in slave mode, add support for it in the corresponding operation. Signed-off-by: Romain Perier <romain.perier@collabora.com> Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/rockchip')
-rw-r--r--sound/soc/rockchip/rk3288_hdmi_analog.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/sound/soc/rockchip/rk3288_hdmi_analog.c b/sound/soc/rockchip/rk3288_hdmi_analog.c
index b60abf322ce1..dbc53e48c52c 100644
--- a/sound/soc/rockchip/rk3288_hdmi_analog.c
+++ b/sound/soc/rockchip/rk3288_hdmi_analog.c
@@ -93,6 +93,9 @@ static int rk_hw_params(struct snd_pcm_substream *substream,
case 96000:
mclk = 12288000;
break;
+ case 192000:
+ mclk = 24576000;
+ break;
case 11025:
case 22050:
case 44100: