diff options
author | Tomi Valkeinen <[email protected]> | 2020-12-15 12:46:31 +0200 |
---|---|---|
committer | Tomi Valkeinen <[email protected]> | 2020-12-15 16:17:30 +0200 |
commit | 4119bd55e40fa6b20f0f0513487af2c2221741c8 (patch) | |
tree | 77e760df600995affdc71adc294aa341a88224ec /tools/perf/scripts/python/sched-migration.py | |
parent | 0073b8cd4311b720611925d58c513b5bf9df4603 (diff) |
drm/omap: pll: fix iteration loop check
If the PLL calc function is given bad parameters, n_start/m_start may be
higher than n_stop/m_stop, which leads to the loops iterating through
the whole u32 number space.
Fix this by failing early on such cases.
Signed-off-by: Tomi Valkeinen <[email protected]>
Reviewed-by: Laurent Pinchart <[email protected]>
Reviewed-by: Sebastian Reichel <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/sched-migration.py')
0 files changed, 0 insertions, 0 deletions