diff options
author | Uwe Kleine-König <u.kleine-koenig@pengutronix.de> | 2021-09-09 12:48:49 +0300 |
---|---|---|
committer | Thierry Reding <thierry.reding@gmail.com> | 2021-11-05 13:51:41 +0300 |
commit | 4ad91a227817ae48f931595d1101fc7100073ce9 (patch) | |
tree | 66c8a2c4961fcd269c3e933e8a2cb11a5ca7f5fa /drivers/watchdog/sbc8360.c | |
parent | 27d9a4d69433af1827a764fe235866d5d5501fdb (diff) | |
download | linux-4ad91a227817ae48f931595d1101fc7100073ce9.tar.xz |
pwm: Make it explicit that pwm_apply_state() might sleep
At least some implementations sleep. So mark pwm_apply_state() with a
might_sleep() to make callers aware. In the worst case this uncovers a
valid atomic user, then we revert this patch and at least gained some more
knowledge and then can work on a concept similar to
gpio_get_value/gpio_get_value_cansleep.
Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Signed-off-by: Thierry Reding <thierry.reding@gmail.com>
Diffstat (limited to 'drivers/watchdog/sbc8360.c')
0 files changed, 0 insertions, 0 deletions