diff options
author | Dmitry Antipov <dmantipov@yandex.ru> | 2025-02-16 20:03:36 +0300 |
---|---|---|
committer | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2025-02-25 23:58:54 +0300 |
commit | 7f7573bd4f37d4edc168c5b5def0bc2a1951c657 (patch) | |
tree | 93ff5d751aa56541b8f048cbf4ca94914098600d /tools/perf/scripts/python/libxed.py | |
parent | 496b7d2e5b936e3e8eae651b51db8a2f9cf0f8b8 (diff) | |
download | linux-7f7573bd4f37d4edc168c5b5def0bc2a1951c657.tar.xz |
Input: pm8941-pwrkey - fix dev_dbg() output in pm8941_pwrkey_irq()
Since 'sw_debounce_end_time' of 'struct pm8941_pwrkey' is of type
'ktime_t', use 'ktime_to_us()' to print the value in microseconds
as it is announced in a call to 'dev_dbg()'. Compile tested only.
Fixes: 0b65118e6ba3 ("Input: pm8941-pwrkey - add software key press debouncing support")
Signed-off-by: Dmitry Antipov <dmantipov@yandex.ru>
Reviewed-by: David Collins <quic_collinsd@quicinc.com>
Link: https://lore.kernel.org/r/20250216170336.861025-1-dmantipov@yandex.ru
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Diffstat (limited to 'tools/perf/scripts/python/libxed.py')
0 files changed, 0 insertions, 0 deletions