mirror of
https://github.com/torvalds/linux.git
synced 2026-06-07 22:14:04 +02: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:
parent
0059f0f2ef
commit
4f42fda1ed
|
|
@ -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),
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user