diff options
author | Adam Ford <aford173@gmail.com> | 2024-10-26 16:19:58 +0300 |
---|---|---|
committer | Vinod Koul <vkoul@kernel.org> | 2024-12-08 18:51:20 +0300 |
commit | 1b9b8b159601d174526ce1c3a62ebe3a7286003b (patch) | |
tree | 64837c3d3ca5c9d6ee23b008c2aa230dc4a55b8c /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | 2a9868d69be26e623dd0bf4231d5175f0ccf5d6f (diff) | |
download | linux-1b9b8b159601d174526ce1c3a62ebe3a7286003b.tar.xz |
phy: freescale: fsl-samsung-hdmi: Stop searching when exact match is found
There are a series of for-loops which check various values of P and S
for the integer divder PLL. The for loops search all entries and use
the one closest to the nominal, but it continues to searches through
all for loops even after the nominal is achieved. Ending when the
nominal value is found stops wasting time, since it will not find
a better value than a deviation of 0 Hz.
Signed-off-by: Adam Ford <aford173@gmail.com>
Reviewed-by: Frieder Schrempf <frieder.schrempf@kontron.de>
Link: https://lore.kernel.org/r/20241026132014.73050-2-aford173@gmail.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions