]> Gentwo Git Trees - linux/.git/commit
drm/panel: ronbo-rb070d30: fix warning with gpio controllers that sleep
authorJosua Mayer <josua@solid-run.com>
Mon, 17 Nov 2025 12:28:47 +0000 (13:28 +0100)
committerNeil Armstrong <neil.armstrong@linaro.org>
Wed, 19 Nov 2025 16:11:35 +0000 (17:11 +0100)
commit93f5a0dc2b7c2df71a93e0fc59edae474bb84c6f
treebb61a69a6404d208e57f1119c38727c8d5147252
parent72539c4b9e482f397cc9340bcd97bb7643c0692d
drm/panel: ronbo-rb070d30: fix warning with gpio controllers that sleep

The ronbo-rb070d30 controles the various gpios for reset, standby,
vertical and horizontal flip using the non-sleeping gpiod_set_value()
function.

Switch to using gpiod_set_value_cansleep() when controlling reset_gpio to
support GPIO providers that may sleep, such as I2C GPIO expanders.

This fixes noisy complaints in kernel log for gpio providers that do
sleep.

Signed-off-by: Josua Mayer <josua@solid-run.com>
Reviewed-by: Neil Armstrong <neil.armstrong@linaro.org>
Signed-off-by: Neil Armstrong <neil.armstrong@linaro.org>
Link: https://patch.msgid.link/20251117-imx8mp-hb-iiot-v3-5-bf1a4cf5fa8e@solid-run.com
drivers/gpu/drm/panel/panel-ronbo-rb070d30.c