drm/panel: ilitek-ili9881c: Fix warning with GPIO controllers that sleep
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>
Sun, 17 Mar 2024 15:48:39 +0000 (17:48 +0200)
committerNeil Armstrong <neil.armstrong@linaro.org>
Mon, 18 Mar 2024 15:06:27 +0000 (16:06 +0100)
commitee7860cd8b5763017f8dc785c2851fecb7a0c565
tree394938b016efe7a51ed5cb9f54054e78ab4ec393
parent9fb8aaff8eef56c1822e5267e52d4ab8ebb5b523
drm/panel: ilitek-ili9881c: Fix warning with GPIO controllers that sleep

The ilitek-ili9881c controls the reset GPIO using the non-sleeping
gpiod_set_value() function. This complains loudly when the GPIO
controller needs to sleep. As the caller can sleep, use
gpiod_set_value_cansleep() to fix the issue.

Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Reviewed-by: Neil Armstrong <neil.armstrong@linaro.org>
Link: https://lore.kernel.org/r/20240317154839.21260-1-laurent.pinchart@ideasonboard.com
Signed-off-by: Neil Armstrong <neil.armstrong@linaro.org>
Link: https://patchwork.freedesktop.org/patch/msgid/20240317154839.21260-1-laurent.pinchart@ideasonboard.com
drivers/gpu/drm/panel/panel-ilitek-ili9881c.c