mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-07 19:30:30 +09:00
ASoC: rockchip: pdm: Fix clk for RV1126
Change-Id: Ib54c9bf873153296674a7a5ac2c6c03d76c8dd0f Signed-off-by: Sugar Zhang <sugar.zhang@rock-chips.com>
This commit is contained in:
@@ -225,7 +225,8 @@ static int rockchip_pdm_hw_params(struct snd_pcm_substream *substream,
|
||||
if (ret)
|
||||
return -EINVAL;
|
||||
|
||||
if (pdm->version == RK_PDM_RK3308) {
|
||||
if (pdm->version == RK_PDM_RK3308 ||
|
||||
pdm->version == RK_PDM_RV1126) {
|
||||
rational_best_approximation(clk_out, clk_src,
|
||||
GENMASK(16 - 1, 0),
|
||||
GENMASK(16 - 1, 0),
|
||||
|
||||
Reference in New Issue
Block a user