On 3/12/23 4:09 PM, Lars-Peter Clausen wrote:
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 <lars@xxxxxxxxxx> ---
Acked-by: David Lechner <david@xxxxxxxxxxxxxx>