]> git.kernelconcepts.de Git - karo-tx-linux.git/commitdiff
ENGR00169375 IPU: Remove the warning message when doing 8:1 downsize
authorWayne Zou <b36644@freescale.com>
Wed, 16 May 2012 07:43:12 +0000 (15:43 +0800)
committerLothar Waßmann <LW@KARO-electronics.de>
Fri, 24 May 2013 06:34:38 +0000 (08:34 +0200)
Remove Overflow message on resize coeff when resize from 1280*720 to 160*120
The IPU IC can not do exactly 8:1 downsize, but can be very close to 8:1
downsize.

Signed-off-by: Wayne Zou <b36644@freescale.com>
drivers/mxc/ipu3/ipu_ic.c

index e21d6134c84ac78d7e89867101778012a7534473..84dcbb145f6f605f178126656c65cb8bfafb3701 100644 (file)
@@ -841,7 +841,7 @@ static bool _calc_resize_coeffs(struct ipu_soc *ipu,
           where M = 2^13, SI - input size, SO - output size    */
        *resizeCoeff = (8192L * (tempSize - 1)) / (outSize - 1);
        if (*resizeCoeff >= 16384L) {
-               dev_err(ipu->dev, "Warning! Overflow on resize coeff.\n");
+               dev_dbg(ipu->dev, "Warning! Overflow on resize coeff.\n");
                *resizeCoeff = 0x3FFF;
        }