From: Sandor Yu Date: Wed, 13 Jun 2012 11:18:43 +0000 (+0800) Subject: ENGR00180937 IPU: Change IPU error message to IPU warning X-Git-Tag: v3.0.35-fsl~910 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=9f02947911a2af9a504b5aa661f8dc15b03e057d;p=karo-tx-linux.git ENGR00180937 IPU: Change IPU error message to IPU warning IPU driver will print unexpect interrupt state in ipu_irq_handler function, It is for IPU debug and state check, not a IPU error. So change print function from dev_error to dev_warn. Signed-off-by: Sandor Yu --- diff --git a/drivers/mxc/ipu3/ipu_common.c b/drivers/mxc/ipu3/ipu_common.c index ef135926fd93..7682b47fc66c 100644 --- a/drivers/mxc/ipu3/ipu_common.c +++ b/drivers/mxc/ipu3/ipu_common.c @@ -2563,8 +2563,8 @@ static irqreturn_t ipu_irq_handler(int irq, void *desc) int_stat &= ipu_cm_read(ipu, IPU_INT_CTRL(err_reg[i])); if (int_stat) { ipu_cm_write(ipu, int_stat, IPU_INT_STAT(err_reg[i])); - dev_err(ipu->dev, - "IPU Error - IPU_INT_STAT_%d = 0x%08X\n", + dev_warn(ipu->dev, + "IPU Warning - IPU_INT_STAT_%d = 0x%08X\n", err_reg[i], int_stat); /* Disable interrupts so we only get error once */ int_stat =