From: Romain Perier Date: Wed, 1 Mar 2017 09:11:07 +0000 (+0100) Subject: ASoC: rockchip: Enable 192khz in hw_params operation X-Git-Tag: v4.12-rc1~6^2~3^2~2^3~1 X-Git-Url: https://git.kernel.dk/?a=commitdiff_plain;h=89433a284d2cc07ca07d4fa414485aa241fc98e2;p=linux-2.6-block.git 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 Signed-off-by: Mark Brown --- 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: