diff options
author | 2023-09-21 20:25:27 +0800 | |
---|---|---|
committer | 2023-09-27 09:12:09 +0200 | |
commit | 26d9e5640d2130ee16df7b1fb6a908f460ab004c (patch) | |
tree | a3c439822aa08b65b78600f438a2fe1e6e1db61e /tools/perf/scripts/python/export-to-postgresql.py | |
parent | gpio: timberdale: Fix potential deadlock on &tgpio->lock (diff) | |
download | wireguard-linux-26d9e5640d2130ee16df7b1fb6a908f460ab004c.tar.xz wireguard-linux-26d9e5640d2130ee16df7b1fb6a908f460ab004c.zip |
gpio: pmic-eic-sprd: Add can_sleep flag for PMIC EIC chip
The drivers uses a mutex and I2C bus access in its PMIC EIC chip
get implementation. This means these functions can sleep and the PMIC EIC
chip should set the can_sleep property to true.
This will ensure that a warning is printed when trying to get the
value from a context that potentially can't sleep.
Fixes: 348f3cde84ab ("gpio: Add Spreadtrum PMIC EIC driver support")
Signed-off-by: Wenhua Lin <Wenhua.Lin@unisoc.com>
Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions