From f2fa41463e844ae8f80ad0aa7538e6f0990fae37 Mon Sep 17 00:00:00 2001 From: =?utf8?q?=E9=99=88=E6=81=92=E6=98=8E?= Date: Sat, 30 Jul 2011 10:43:55 +0800 Subject: [PATCH] rk29: vpu_service: add log when waiting task at power off --- arch/arm/mach-rk29/vpu_service.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/arch/arm/mach-rk29/vpu_service.c b/arch/arm/mach-rk29/vpu_service.c index d5465cb221aa..07b2a28ab971 100644 --- a/arch/arm/mach-rk29/vpu_service.c +++ b/arch/arm/mach-rk29/vpu_service.c @@ -189,8 +189,10 @@ static void vpu_service_power_off(void) if (!service.enabled) return; - while(atomic_read(&service.task_running)) + while(atomic_read(&service.task_running)) { + pr_alert("power off when task running!!\n"); udelay(10); + } printk("vpu: power off\n"); pmu_set_power_domain(PD_VCODEC, false); -- 2.34.1