mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-10 12:57:06 +09:00
drm/panel: simple-panel: no need to send off commands in panel_simple_shutdown
Change-Id: Id0129f899efe6500858ad0aa0aefcfbf5aa101f6 Signed-off-by: Wyon Bi <bivvy.bi@rock-chips.com>
This commit is contained in:
@@ -929,7 +929,14 @@ static void panel_simple_shutdown(struct device *dev)
|
||||
struct panel_simple *panel = dev_get_drvdata(dev);
|
||||
|
||||
panel_simple_disable(&panel->base);
|
||||
panel_simple_unprepare(&panel->base);
|
||||
|
||||
if (panel->reset_gpio)
|
||||
gpiod_direction_output(panel->reset_gpio, 1);
|
||||
|
||||
if (panel->enable_gpio)
|
||||
gpiod_direction_output(panel->enable_gpio, 0);
|
||||
|
||||
panel_simple_regulator_disable(&panel->base);
|
||||
}
|
||||
|
||||
static const struct drm_display_mode ampire_am800480r3tmqwa1h_mode = {
|
||||
|
||||
Reference in New Issue
Block a user