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)
commit0c9501f823a40a061f755d3789c4705c9fe85f14
tree0748b51b1419b74ed275cec6b8d13cfad64ad0ab
parent358791033f39d138bf64e5544937345f4a7cf83a
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