]> git.sur5r.net Git - u-boot/commit
rockchip: video: Add remove() methods
authorSimon Glass <sjg@chromium.org>
Wed, 31 May 2017 23:57:28 +0000 (17:57 -0600)
committerSimon Glass <sjg@chromium.org>
Fri, 9 Jun 2017 19:45:28 +0000 (13:45 -0600)
commitf418676e9ab8b7ec5496fc83fe8ab2b92b26a58e
treec928090a09acab8989513ddbf037cf2d2692e9a4
parent6f06ef57bb9031e322752343f7cf8f2408904452
rockchip: video: Add remove() methods

Add remove() methods for EDP and VOP so that U-Boot can shut down the
video on exit. This avoids leaving DMA running while booting Linux which
can cause problems if Linux uses the frame buffer for something else.

It also makes it clear what is needed to shut down video.

While we are here, make rkvop_enable() static.

Signed-off-by: Simon Glass <sjg@chromium.org>
Acked-by: Anatolij Gustschin <agust@denx.de>
Squashed in 'rockchip: video: fix taking the VOP device out of standby':
Signed-off-by: Philipp Tomsich <philipp.tomsich@theobroma-systems.com>
drivers/video/rockchip/rk3288_vop.c
drivers/video/rockchip/rk_edp.c