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, 21 Mar 2022 16:04:13 +0000 (16:04 +0000)
commitae6b6e98b4e46726450ab8e7e86935236875e0af
tree5d5701a6ea4a670d321a4afeac13ed4c5d3f6b9f
parentb13ab2d2308b2a52caf4c8eeaf5d2290e605e9b1
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