From 0076ba7b4f92861411ac4a404232e72e75ed347b Mon Sep 17 00:00:00 2001 From: =?utf8?q?=E6=9D=9C=E5=9D=A4=E6=98=8E?= Date: Tue, 1 Jun 2010 03:36:39 +0000 Subject: [PATCH] disable dsp printk --- drivers/staging/rk2818/rk2818_dsp/rk2818_dsp.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/drivers/staging/rk2818/rk2818_dsp/rk2818_dsp.c b/drivers/staging/rk2818/rk2818_dsp/rk2818_dsp.c index 9ccb4643df98..01f9f070ac47 100644 --- a/drivers/staging/rk2818/rk2818_dsp/rk2818_dsp.c +++ b/drivers/staging/rk2818/rk2818_dsp/rk2818_dsp.c @@ -285,14 +285,14 @@ static int _down_firmware(char *fwname, struct rk28dsp_inf *inf) dspprintk("%s already down, not redown! \n", fwname); /* change dsp & arm to normal mode */ - if(DS_SLOW==inf->dsp_status) printk("dsp work mode : slow -> normal mode \n"); + //if(DS_SLOW==inf->dsp_status) printk("dsp work mode : slow -> normal mode \n"); inf->dsp_status = DS_NORMAL; __raw_writel(0x5, RK2818_SCU_BASE+0x0c); return 0; } } - if(DS_SLEEP==inf->dsp_status) printk("dsp work mode : sleep -> normal mode \n"); + //if(DS_SLEEP==inf->dsp_status) printk("dsp work mode : sleep -> normal mode \n"); inf->dsp_status = DS_NORMAL; dspprintk("down firmware (%s) ... \n", fwname); @@ -430,14 +430,14 @@ void dsptimer_callback(unsigned long arg) case DS_TOSLOW: dsp_powerctl(DPC_SLOW, 0); inf->dsp_status = DS_SLOW; - printk("dsp work mode : slow mode \n"); + //printk("dsp work mode : slow mode \n"); sec_cnt = 0; break; case DS_SLOW: if(++sec_cnt>=5) { dsp_powerctl(DPC_SLEEP, 0); inf->dsp_status = DS_SLEEP; - printk("dsp work mode : sleep mode \n"); + //printk("dsp work mode : sleep mode \n"); } break; case DS_SLEEP: @@ -915,7 +915,7 @@ static int dsp_drv_suspend(struct platform_device *pdev, pm_message_t state) dsp_powerctl(DPC_SLEEP, 0); inf->dsp_status = DS_SLEEP; - printk("dsp work mode : sleep mode \n"); + //printk("dsp work mode : sleep mode \n"); return 0; } -- 2.34.1