From: ljf Date: Thu, 17 Apr 2014 12:02:33 +0000 (+0800) Subject: rk3288: power off vcodec after iommu operation X-Git-Tag: firefly_0821_release~5507 X-Git-Url: http://plrg.eecs.uci.edu/git/?a=commitdiff_plain;h=1f86973a06fa52415be56a7574af8645fd8c8952;p=firefly-linux-kernel-4.4.55.git rk3288: power off vcodec after iommu operation --- diff --git a/arch/arm/mach-rockchip/vcodec_service.c b/arch/arm/mach-rockchip/vcodec_service.c index d08f8c82d206..068029e6924c 100755 --- a/arch/arm/mach-rockchip/vcodec_service.c +++ b/arch/arm/mach-rockchip/vcodec_service.c @@ -1518,9 +1518,6 @@ static int vcodec_probe(struct platform_device *pdev) &debug_vcodec_fops); #endif - vpu_service_power_off(pservice); - pr_info("init success\n"); - #if defined(CONFIG_VCODEC_MMU) & defined(CONFIG_ION_ROCKCHIP) pservice->ion_client = rockchip_ion_client_create("vpu"); if (IS_ERR(pservice->ion_client)) { @@ -1544,6 +1541,9 @@ static int vcodec_probe(struct platform_device *pdev) } #endif + vpu_service_power_off(pservice); + pr_info("init success\n"); + #if HEVC_SIM_ENABLE if (pservice->hw_info->hw_id == HEVC_ID) { simulate_init(pservice);