diff options
| author | 2022-01-05 19:08:03 +0800 | |
|---|---|---|
| committer | 2022-01-06 13:55:54 +0000 | |
| commit | 320386343451ab6a3577e0ee200dac56a6182944 (patch) | |
| tree | 38ea18173d1d7afd05209919438c775514fd97ac /tools/testing/selftests/exec/git:/ssh:/git@git.zx2c4.com | |
| parent | ASoC: Intel: bytcr_rt5640: Add support for external GPIO jack-detect (diff) | |
| download | linux-dev-320386343451ab6a3577e0ee200dac56a6182944.tar.xz linux-dev-320386343451ab6a3577e0ee200dac56a6182944.zip | |
ASoC: fsl_asrc: refine the check of available clock divider
According to RM, the clock divider range is from 1 to 8, clock
prescaling ratio may be any power of 2 from 1 to 128.
So the supported divider is not all the value between
1 and 1024, just limited value in that range.
Create table for the supported divder and add function to
check the clock divider is available by comparing with
the table.
Fixes: d0250cf4f2ab ("ASoC: fsl_asrc: Add an option to select internal ratio mode")
Signed-off-by: Shengjiu Wang <shengjiu.wang@nxp.com>
Link: https://lore.kernel.org/r/1641380883-20709-1-git-send-email-shengjiu.wang@nxp.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'tools/testing/selftests/exec/git:/ssh:/git@git.zx2c4.com')
0 files changed, 0 insertions, 0 deletions
