]> Gentwo Git Trees - linux/.git/commit
drm/panel: ilitek-ili9881c: turn off power-supply when init fails
authorHeiko Stuebner <heiko@sntech.de>
Mon, 7 Jul 2025 16:48:54 +0000 (18:48 +0200)
committerHeiko Stuebner <heiko@sntech.de>
Fri, 22 Aug 2025 21:00:02 +0000 (23:00 +0200)
commit6c66eba502709a78281333187c1add7b71f7201f
tree20bf30d3343efea951c82aa52945dd52c94d16fd
parent73b81fcb12df1051bd169e488245f8bf4c37bc93
drm/panel: ilitek-ili9881c: turn off power-supply when init fails

The prepare function turns on the power-supply regulator first, when
preparing the display. But in an error case, just returns the error
code, but does not power off the regulator again, fix that.

Reviewed-by: Neil Armstrong <neil.armstrong@linaro.org>
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
Link: https://lore.kernel.org/r/20250707164906.1445288-2-heiko@sntech.de
drivers/gpu/drm/panel/panel-ilitek-ili9881c.c