pr_alert("alert: delay 50 ms for running task\n");\r
vpu_service_dump(pservice);\r
}\r
+ \r
+#if defined(CONFIG_VCODEC_MMU)\r
+ if (pservice->mmu_dev) {\r
+ iovmm_deactivate(pservice->dev);\r
+ }\r
+#endif \r
\r
printk("%s: power off...", dev_name(pservice->dev));\r
udelay(10);\r
#endif\r
wake_unlock(&pservice->wake_lock);\r
printk("done\n");\r
- \r
-#if defined(CONFIG_VCODEC_MMU)\r
- if (pservice->mmu_dev) {\r
- iovmm_deactivate(pservice->dev);\r
- }\r
-#endif \r
}\r
\r
static inline void vpu_queue_power_off_work(struct vpu_service_info *pservice)\r