From: Wayne Zou Date: Wed, 16 May 2012 07:43:12 +0000 (+0800) Subject: ENGR00169375 IPU: Remove the warning message when doing 8:1 downsize X-Git-Tag: v3.0.35-fsl_4.1.0~1197 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=19ad10a4a645a0c364b59f3cd207822d01df576d;p=karo-tx-linux.git ENGR00169375 IPU: Remove the warning message when doing 8:1 downsize 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 --- diff --git a/drivers/mxc/ipu3/ipu_ic.c b/drivers/mxc/ipu3/ipu_ic.c index e21d6134c84a..84dcbb145f6f 100644 --- a/drivers/mxc/ipu3/ipu_ic.c +++ b/drivers/mxc/ipu3/ipu_ic.c @@ -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; }