]> git.proxmox.com Git - mirror_ubuntu-zesty-kernel.git/commit
drm/sun4i: rgb: add missing calls to drm_panel_{prepare,unprepare}
authorJonathan Liu <net147@gmail.com>
Tue, 30 Aug 2016 06:55:00 +0000 (16:55 +1000)
committerMaxime Ripard <maxime.ripard@free-electrons.com>
Tue, 30 Aug 2016 12:52:21 +0000 (14:52 +0200)
commit4b30950252265140139ce441fd7d8743d1d6052e
tree75beed94e2695a060f1c68b937d420b79dfe186b
parentaf346f5570f208dcfb319f1214fcf8ca310c6fdd
drm/sun4i: rgb: add missing calls to drm_panel_{prepare,unprepare}

If the enable-gpios property of a simple panel in device tree is set,
the GPIO is not toggled on/off because of missing calls to
drm_panel_prepare and drm_panel_unprepare.

Signed-off-by: Jonathan Liu <net147@gmail.com>
Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
drivers/gpu/drm/sun4i/sun4i_rgb.c