video: rockchip: rk322x: keep vop standby before enable iommu
authorMark Yao <mark.yao@rock-chips.com>
Mon, 7 Nov 2016 06:22:36 +0000 (14:22 +0800)
committerMark Yao <mark.yao@rock-chips.com>
Wed, 9 Nov 2016 00:50:22 +0000 (08:50 +0800)
commitd05c5b242b5a316ae92f3d8e44e062dc299b7ef7
treeab085438226cdec88d624c0c527f0d91dbf2aa83
parent7b3f45710eadd30c4e3c18045cb79119581b894d
video: rockchip: rk322x: keep vop standby before enable iommu

Vop may access illegal address and cause bus error with:
    1, vop iommu is disable
    2, vop is enable and its window use a iommu mapping address

The illegal memory access may cause bus abnormal.

Change-Id: I17d52ae12140b9bf85d37123765f7163422ec8f5
Signed-off-by: Mark Yao <mark.yao@rock-chips.com>
drivers/video/rockchip/lcdc/rk322x_lcdc.c