aboutsummaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/cpus.py
diff options
context:
space:
mode:
authorSerge Semin <[email protected]>2020-09-20 14:09:23 +0300
committerGuenter Roeck <[email protected]>2020-10-04 08:40:10 -0700
commit0ffd21d5985506d164ada9e8fff6daae8ef469a1 (patch)
tree68222da17209b478b421290265227fc657764fb7 /scripts/gdb/linux/cpus.py
parent0015503e5f6357f286bef34d039e43359fa4efd4 (diff)
hwmon: (bt1-pvt) Wait for the completion with timeout
If the PVT sensor is suddenly powered down while a caller is waiting for the conversion completion, the request won't be finished and the task will hang up on this procedure until the power is back up again. Let's call the wait_for_completion_timeout() method instead to prevent that. The cached timeout is exactly what we need to predict for how long conversion could normally last. Fixes: 87976ce2825d ("hwmon: Add Baikal-T1 PVT sensor driver") Signed-off-by: Serge Semin <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Guenter Roeck <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/cpus.py')
0 files changed, 0 insertions, 0 deletions