]> git.baikalelectronics.ru Git - 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)
commit24f83b55514df1c6cb7b8523c75b7fa7f86ada38
tree75beed94e2695a060f1c68b937d420b79dfe186b
parent5aff2350fe26295a25e202af548c4c085cf2188f
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