aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/exported-sql-viewer.py
diff options
context:
space:
mode:
authorSascha Hauer <[email protected]>2022-03-02 09:34:27 +0100
committerMark Brown <[email protected]>2022-03-07 13:13:09 +0000
commit1d4cbdf7bf2eaa794528250a29aed08f1df7f837 (patch)
tree2074ea987682d6faeceba7a245cb7c6580cf54e7 /tools/perf/scripts/python/exported-sql-viewer.py
parentc56359f4f2adfb81cf7cbea1e8ef9bfc59dbd4ec (diff)
ASoC: fsl_sai: use DIV_ROUND_CLOSEST() to calculate divider
In fsl_sai_set_bclk() we want to calculate the divider that gets us closest to the desired frequency, so use DIV_ROUND_CLOSEST() instead of just doing a clk_rate/freq. Also discard invalid ratios earlier. Signed-off-by: Sascha Hauer <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions