Commit 87139913 authored by Jonathan Liu's avatar Jonathan Liu Committed by Greg Kroah-Hartman

drm/panel: simple: Add missing panel_simple_unprepare() calls

commit f3621a8e upstream.

During panel removal or system shutdown panel_simple_disable() is called
which disables the panel backlight but the panel is still powered due to
missing calls to panel_simple_unprepare().

Fixes: d02fd93e ("drm/panel: simple - Disable panel on shutdown")
Signed-off-by: default avatarJonathan Liu <>
Signed-off-by: default avatarThierry Reding <>
Link: default avatarGreg Kroah-Hartman <>
parent 8153a0fc
......@@ -369,6 +369,7 @@ static int panel_simple_remove(struct device *dev)
if (panel->ddc)
......@@ -384,6 +385,7 @@ static void panel_simple_shutdown(struct device *dev)
struct panel_simple *panel = dev_get_drvdata(dev);
static const struct drm_display_mode ampire_am_480272h3tmqw_t01h_mode = {
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment