]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
ENGR00269468 IPUv3 dev:Silence an annoying warning message
authorLiu Ying <Ying.Liu@freescale.com>
Fri, 12 Jul 2013 07:44:18 +0000 (15:44 +0800)
committerOliver Wendt <ow@karo-electronics.de>
Mon, 30 Sep 2013 12:14:14 +0000 (14:14 +0200)
commit80d14c40e61b37805011a06e003eb8caf206d023
treebff7435c4aafa873fd593eb9d99d3bda58b3f3e8
parentf5eaceb85326c599e873111503798271966832f5
ENGR00269468 IPUv3 dev:Silence an annoying warning message

We call the function ipu_calc_stripes_sizes() to calculate
stripe settings for vdi split mode. Chances are that the
parameters output_frame_width and maximal_stripe_width for the
function satisfy the relationship 'output_frame_width <=
maximal_stripe_width' and make the function return non-zero
value. This causes the IPU device driver generates an annoying
warning message, though the default stripe settings still can
work. This patch simply silences the warning message by reducing
the print log level from error to debug.

Signed-off-by: Liu Ying <Ying.Liu@freescale.com>
(cherry picked from commit 58d6cb0f2d5013c7a6f7b163ce8834019f0dcbc0)
drivers/mxc/ipu3/ipu_device.c