[alsa-devel] [PATCH 4/4] ASoC: rockchip: Enable 192khz in hw_params operation
Romain Perier
romain.perier at collabora.com
Fri Feb 24 17:01:04 CET 2017
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 at collabora.com>
---
sound/soc/rockchip/rk3288_hdmi_analog.c | 3 +++
1 file changed, 3 insertions(+)
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:
--
2.9.3
More information about the Alsa-devel
mailing list