]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
ENGR00180937 IPU: Change IPU error message to IPU warning
authorSandor Yu <R01008@freescale.com>
Wed, 13 Jun 2012 11:18:43 +0000 (19:18 +0800)
committerLothar Waßmann <LW@KARO-electronics.de>
Fri, 24 May 2013 06:34:48 +0000 (08:34 +0200)
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 <R01008@freescale.com>
drivers/mxc/ipu3/ipu_common.c

index ef135926fd93a7b18a5432ef75d1c4a8600e1286..7682b47fc66c65b70f3c097db7d5c446c71c091b 100644 (file)
@@ -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 =