VPU, Disable iommu when decoding failure
authorAlpha Lin <alpha.lin@rock-chips.com>
Wed, 7 Jan 2015 01:29:18 +0000 (09:29 +0800)
committerAlpha Lin <alpha.lin@rock-chips.com>
Wed, 7 Jan 2015 01:31:30 +0000 (09:31 +0800)
commitb5936892be05094ba2127c1e7f7c4f7183333c12
tree447ebab520724215b3738dd0b73eccf93144af41
parentfb24629ff4a5fa45221753adbdaf61158936cd12
VPU, Disable iommu when decoding failure

Disable iommu when decoding failure, so the iommu could
restore its state when the decoding resume.
Without this step, iommu will work in invalid state.

Signed-off-by: Alpha Lin <alpha.lin@rock-chips.com>
arch/arm/mach-rockchip/vcodec_service.c
arch/arm/mach-rockchip/vcodec_service.h