drm/panel: jdi-lt070me05000: Use gpiod_set_value_cansleep
authorDave Stevenson <dave.stevenson@raspberrypi.com>
Thu, 15 Apr 2021 16:30:35 +0000 (17:30 +0100)
committerDom Cobley <popcornmix@gmail.com>
Mon, 19 Feb 2024 11:33:10 +0000 (11:33 +0000)
commitbf30754a2314c0be1fcc7047a71cecc327e734af
tree7eaec5ecf3eb388e26b5c83ed060ff1cf2de21b9
parent7a2bddce8d34512fac0db71102ef9b8977bb75ae
drm/panel: jdi-lt070me05000: Use gpiod_set_value_cansleep

There is no reason why the control GPIOs for the panel can not
be connected to I2C or similar GPIO interfaces that may need to
sleep, therefore switch from gpiod_set_value to
gpiod_set_value_cansleep calls to configure them.
Without that you get complaints from gpiolib every time the state
is changed.

Signed-off-by: Dave Stevenson <dave.stevenson@raspberrypi.com>
drivers/gpu/drm/panel/panel-jdi-lt070me05000.c