diff options
author | Wayne Zou <b36644@freescale.com> | 2012-05-16 15:43:12 +0800 |
---|---|---|
committer | Jason Liu <r64343@freescale.com> | 2012-07-20 13:37:30 +0800 |
commit | 90fb0c14e9d8ea1e98767ca885b8a1c7b7384f4b (patch) | |
tree | 40a09a2cc5d5893c836a89bf06ace966c6f5e804 /drivers/mxc | |
parent | beeea4e1a22792ebf8e4857e830bd69d7e30d67c (diff) |
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 <b36644@freescale.com>
Diffstat (limited to 'drivers/mxc')
-rw-r--r-- | drivers/mxc/ipu3/ipu_ic.c | 2 |
1 files changed, 1 insertions, 1 deletions
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; } |