aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/intel-pt-events.py
diff options
context:
space:
mode:
authorTomi Valkeinen <[email protected]>2023-09-06 09:50:58 +0300
committerRobert Foss <[email protected]>2023-09-20 13:48:47 +0200
commitf1dabbe645065d20ca863c8d446c74c59ca1ca9d (patch)
tree114bff618fe65e34af7c66f07d608f9e86625277 /tools/perf/scripts/python/intel-pt-events.py
parentb3aa7b34924a9ed64cf96899cac4d8ea08cd829e (diff)
drm/bridge: tc358768: Fix tc358768_ns_to_cnt()
The tc358768_ns_to_cnt() is, most likely, supposed to do a div-round-up operation, but it misses subtracting one from the dividend. Fix this by just using DIV_ROUND_UP(). Fixes: ff1ca6397b1d ("drm/bridge: Add tc358768 driver") Reviewed-by: Peter Ujfalusi <[email protected]> Tested-by: Maxim Schwalm <[email protected]> # Asus TF700T Tested-by: Marcel Ziswiler <[email protected]> Signed-off-by: Tomi Valkeinen <[email protected]> Signed-off-by: Robert Foss <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/intel-pt-events.py')
0 files changed, 0 insertions, 0 deletions