ASoC: rockchip: Enable 192khz in hw_params operation
authorRomain Perier <romain.perier@collabora.com>
Wed, 1 Mar 2017 09:11:07 +0000 (10:11 +0100)
committerMark Brown <broonie@kernel.org>
Mon, 6 Mar 2017 10:40:46 +0000 (11:40 +0100)
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>
sound/soc/rockchip/rk3288_hdmi_analog.c

index b60abf322ce1c5e05c467322bc9523f12ed80d61..dbc53e48c52c5bfc0f1aaf4cfa550706a0936ad7 100644 (file)
@@ -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: