From 19ad10a4a645a0c364b59f3cd207822d01df576d Mon Sep 17 00:00:00 2001 From: Wayne Zou Date: Wed, 16 May 2012 15:43:12 +0800 Subject: [PATCH] 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 --- drivers/mxc/ipu3/ipu_ic.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; } -- 2.39.5