summaryrefslogtreecommitdiffstats
path: root/sound
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:41:03 +0100
commit89433a284d2cc07ca07d4fa414485aa241fc98e2 (patch)
tree03039c6d56b39df9aca6bb31f64d285dddaec5e6 /sound
parentc1ae3cfa0e89fa1a7ecc4c99031f5e9ae99d9201 (diff)
downloadop-kernel-dev-89433a284d2cc07ca07d4fa414485aa241fc98e2.zip
op-kernel-dev-89433a284d2cc07ca07d4fa414485aa241fc98e2.tar.gz
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')
-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 b60abf3..dbc53e4 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:
OpenPOWER on IntegriCloud