mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-11-08 18:57:22 +00:00
drm/panel: ilitek-ili9881c: turn off power-supply when init fails
[ Upstream commit 6c66eba502 ]
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
Signed-off-by: Sasha Levin <sashal@kernel.org>
This commit is contained in:
parent
e496b2cf6b
commit
c7b7dbcb98
1 changed files with 8 additions and 4 deletions
Loading…
Add table
Add a link
Reference in a new issue