diff options
author | Liu Ying <Ying.Liu@freescale.com> | 2015-06-10 13:28:43 +0800 |
---|---|---|
committer | Liu Ying <Ying.Liu@freescale.com> | 2015-06-10 14:50:04 +0800 |
commit | cf5ba87fb7a642f0b7f23198148f94419f5d5b61 (patch) | |
tree | dbe06c0cfb4a20ed48c765a92a839e53f02adab3 | |
parent | 75153a91382c85c7ba8e56e46bdb3b8d125be40b (diff) |
MLK-11078 video: mxc ipuv3 fb: reduce debug level for PRE allocation failure
Upon PRE allocation failure, the function ipu_pre_alloc() would return
a dedicated value to reflect the reason of the failure. So, it should
be ok to reduce debug level for the failure from dev_err to dev_dbg so
that dmesg would be less noisy.
Signed-off-by: Liu Ying <Ying.Liu@freescale.com>
(cherry picked from commit e37c94006b4b84670500c4113ad841e5fda68141)
-rw-r--r-- | drivers/video/mxc/mxc_ipuv3_fb.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/video/mxc/mxc_ipuv3_fb.c b/drivers/video/mxc/mxc_ipuv3_fb.c index b699c44df25d..1cd1c749b3f0 100644 --- a/drivers/video/mxc/mxc_ipuv3_fb.c +++ b/drivers/video/mxc/mxc_ipuv3_fb.c @@ -545,8 +545,7 @@ static int _setup_disp_channel2(struct fb_info *fbi) mxc_fbi->pre_num = ipu_pre_alloc(mxc_fbi->ipu_id, mxc_fbi->ipu_ch); if (mxc_fbi->pre_num < 0) { - dev_err(fbi->device, - "failed to alloc PRE\n"); + dev_dbg(fbi->device, "failed to alloc PRE\n"); mxc_fbi->prefetch = mxc_fbi->cur_prefetch; mxc_fbi->resolve = false; if (!mxc_fbi->on_the_fly) |