]> git.baikalelectronics.ru Git - uboot.git/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)
commit14ef792a0653aa7bf9e4ef2c927c1307bb621317
treec928090a09acab8989513ddbf037cf2d2692e9a4
parentc8ccf8903e4e18d7013f209c2345825e7ee5f149
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