drm/panel: simple: Add missing panel_simple_unprepare() calls
authorJonathan Liu <net147@gmail.com>
Mon, 7 Aug 2017 11:55:45 +0000 (21:55 +1000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 5 Dec 2017 10:24:34 +0000 (11:24 +0100)
commit25abe3a9585eeadbbb65851c2082f232f1b6ee40
tree0451bef94047f39c82988107d5ab696c1cd4cda9
parent3405805db8bbe72e831059f93775e7048d5f742d
drm/panel: simple: Add missing panel_simple_unprepare() calls

commit f3621a8eb59a913612c8e6e37d81f16b649f8b6c 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: d02fd93e2cd8 ("drm/panel: simple - Disable panel on shutdown")
Signed-off-by: Jonathan Liu <net147@gmail.com>
Signed-off-by: Thierry Reding <treding@nvidia.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20170807115545.27747-1-net147@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/gpu/drm/panel/panel-simple.c