summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/exported-sql-viewer.py
diff options
context:
space:
mode:
authorSerge Semin <Sergey.Semin@baikalelectronics.ru>2020-09-20 14:09:22 +0300
committerGuenter Roeck <linux@roeck-us.net>2020-10-04 18:40:10 +0300
commit0015503e5f6357f286bef34d039e43359fa4efd4 (patch)
treea6010dff1277164e4b490f6a69701217a9e83d3f /tools/perf/scripts/python/exported-sql-viewer.py
parenta6db1561291fc0f2f9aa23bf38f381adc63e7b14 (diff)
downloadlinux-0015503e5f6357f286bef34d039e43359fa4efd4.tar.xz
hwmon: (bt1-pvt) Cache current update timeout
Instead of converting the update timeout data to the milliseconds each time on the read procedure let's preserve the currently set timeout in the dedicated driver private data cache. The cached value will be then used in the timeout read method and in the alarm-less data conversion to prevent the caller task hanging up in case if the PVT sensor is suddenly powered down. Fixes: 87976ce2825d ("hwmon: Add Baikal-T1 PVT sensor driver") Signed-off-by: Serge Semin <Sergey.Semin@baikalelectronics.ru> Link: https://lore.kernel.org/r/20200920110924.19741-3-Sergey.Semin@baikalelectronics.ru Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions