diff options
author | Sakari Ailus <sakari.ailus@linux.intel.com> | 2024-02-19 22:58:06 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2024-03-05 17:28:22 +0300 |
commit | b8b19acfafdeacbedd4e2795cb18c81c4d8bb6cc (patch) | |
tree | f75c2d670e8eaba3f37ba4fe3afd2f48dd4050c0 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 058a38acba15fd8e7b262ec6e17c4204cb15f984 (diff) | |
download | linux-b8b19acfafdeacbedd4e2795cb18c81c4d8bb6cc.tar.xz |
mei: vsc: Don't use sleeping condition in wait_event_timeout()
vsc_tp_wakeup_request() called wait_event_timeout() with
gpiod_get_value_cansleep() which may sleep, and does so as the
implementation is that of gpio-ljca.
Move the GPIO state check outside the call.
Fixes: 566f5ca97680 ("mei: Add transport driver for IVSC device")
Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Tested-and-Reviewed-by: Wentong Wu <wentong.wu@intel.com>
Link: https://lore.kernel.org/r/20240219195807.517742-3-sakari.ailus@linux.intel.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions