aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/mem-phys-addr.py
diff options
context:
space:
mode:
authorEddie James <[email protected]>2021-04-29 15:13:36 +0000
committerGuenter Roeck <[email protected]>2021-05-10 13:27:33 +0000
commit5216dff22dc2bbbbe6f00335f9fd2879670e753b (patch)
tree63c697a13879a0afdba14e6adb937bd90aef82bd /tools/perf/scripts/python/mem-phys-addr.py
parenthwmon: (corsair-psu) Remove unneeded semicolons (diff)
downloadkernel-5216dff22dc2bbbbe6f00335f9fd2879670e753b.tar.gz
kernel-5216dff22dc2bbbbe6f00335f9fd2879670e753b.zip
hwmon: (occ) Fix poll rate limiting
The poll rate limiter time was initialized at zero. This breaks the comparison in time_after if jiffies is large. Switch to storing the next update time rather than the previous time, and initialize the time when the device is probed. Fixes: c10e753d43eb ("hwmon (occ): Add sensor types and versions") Signed-off-by: Eddie James <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Guenter Roeck <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/mem-phys-addr.py')
0 files changed, 0 insertions, 0 deletions