aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorLars-Peter Clausen <[email protected]>2023-03-12 21:09:33 +0000
committerJonathan Cameron <[email protected]>2023-03-18 16:39:35 +0000
commit363c7dc72f79edd55bf1c4380e0fbf7f1bbc2c86 (patch)
treeeedc5b72164a4a4672090132feab6e52a2bdb5d4 /tools/perf/scripts/python
parentiio: adc: palmas_gpadc: fix NULL dereference on rmmod (diff)
downloadkernel-363c7dc72f79edd55bf1c4380e0fbf7f1bbc2c86.tar.gz
kernel-363c7dc72f79edd55bf1c4380e0fbf7f1bbc2c86.zip
iio: adc: ti-ads7950: Set `can_sleep` flag for GPIO chip
The ads7950 uses a mutex as well as SPI transfers in its GPIO callbacks. This means these callbacks can sleep and the `can_sleep` flag should be set. Having the flag set will make sure that warnings are generated when calling any of the callbacks from a potentially non-sleeping context. Fixes: c97dce792dc8 ("iio: adc: ti-ads7950: add GPIO support") Signed-off-by: Lars-Peter Clausen <[email protected]> Acked-by: David Lechner <[email protected]> Link: https://lore.kernel.org/r/[email protected] Cc: <[email protected]> Signed-off-by: Jonathan Cameron <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions