]> git.baikalelectronics.ru Git - kernel.git/commit
backlight: pwm_bl: Handle gpio that can sleep
authorMaxime Ripard <maxime.ripard@free-electrons.com>
Wed, 31 Aug 2016 08:18:12 +0000 (10:18 +0200)
committerLee Jones <lee.jones@linaro.org>
Thu, 6 Oct 2016 08:27:26 +0000 (09:27 +0100)
commit984c309b51ba57c172e6c91e7d7f46b133910367
tree0748b51b1419b74ed275cec6b8d13cfad64ad0ab
parentcf9cda4df07c47d6f6708b9737e7574e8d956522
backlight: pwm_bl: Handle gpio that can sleep

Some backlight GPIOs might be connected to some i2c based expanders whose
access might sleep.

Since it's not in any critical path, use the cansleep variant of the GPIO
API.

Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
drivers/video/backlight/pwm_bl.c