diff options
author | Anatol Pomozov <anatol.pomozov@gmail.com> | 2015-08-05 23:58:33 +0200 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2015-08-06 11:51:12 +0200 |
commit | ac1125daf02b81cabb19f35963906335e3d4a155 (patch) | |
tree | 78f65f1df70cecc1ea61ae9fa65ed8473e85b587 /COPYING | |
parent | ASoC: Add function "rl6231_get_pre_div" to correct the dmic clock calculation (diff) | |
download | linux-ac1125daf02b81cabb19f35963906335e3d4a155.tar.xz linux-ac1125daf02b81cabb19f35963906335e3d4a155.zip |
ASoC: rl6231: Simplify DMIC divider calculation expression
Existing implementation checks all divider values and tracks
'red' proximity value for the frequency.
But as divider array is monotonically increasing the first
divider that gives DMIC rate in 3MHz range is the best one
we should use. No need for 'red' zone tracking.
Additionally make sure that DMIC frequency is higher 1MHz.
Signed-off-by: Anatol Pomozov <anatol.pomozov@gmail.com>
Acked-by: Oder Chiou <oder_chiou@realtek.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'COPYING')
0 files changed, 0 insertions, 0 deletions