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~115^2^2~5^2~1 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=2e589fdc35c281fe1b1abe8a70004022ca504cf7;p=thirdparty%2Fkernel%2Flinux.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 b60abf322ce1c..dbc53e48c52c5 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: