diff options
author | Stefan Eichenberger <[email protected]> | 2023-09-18 16:32:38 +0200 |
---|---|---|
committer | Lee Jones <[email protected]> | 2023-11-01 11:28:42 +0000 |
commit | 7c977019c53ed2689e5509ebd1d89a424cf3d313 (patch) | |
tree | 5f592cb84243bb671f9ec57da0561ac950a54bdf /net/lapb/lapb_out.c | |
parent | e3c9d952139c1eb42f35bdcdcb85a66a72587b34 (diff) |
leds: lp55xx: Use gpiod_set_value_cansleep()
Use gpiod_set_value_cansleep in the init_device function. Without this
change, the driver may print a warning if the LP55xx enable pin is
connected to a GPIO chip which can sleep (e.g. a GPIO expander):
WARNING: CPU: 0 PID: 2719 at drivers/gpio/gpiolib.c:3051 gpiod_set_value+0x64/0xbc
Signed-off-by: Stefan Eichenberger <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Lee Jones <[email protected]>
Diffstat (limited to 'net/lapb/lapb_out.c')
0 files changed, 0 insertions, 0 deletions