From: Herman Chen Date: Mon, 5 Sep 2016 09:22:21 +0000 (+0800) Subject: rockchip/vcodec: remove noisy log on encoder X-Git-Tag: firefly_0821_release~1595 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=78809960bbe804e5e413b9af911a37c69a23270f;p=firefly-linux-kernel-4.4.55.git rockchip/vcodec: remove noisy log on encoder New user encoder will send larger register size to kernel with extra info right after the register file. The extra information will specify the offset patch for address registers. This behavior will cause a lot of noisy log. So we need to disable it. Change-Id: I32609be325482b445ee6e97f7f4a245d6d0dc9c2 Signed-off-by: Herman Chen --- diff --git a/drivers/video/rockchip/vcodec/vcodec_service.c b/drivers/video/rockchip/vcodec/vcodec_service.c index d9cf0c6caf98..4c837de2c06a 100644 --- a/drivers/video/rockchip/vcodec/vcodec_service.c +++ b/drivers/video/rockchip/vcodec/vcodec_service.c @@ -1211,8 +1211,6 @@ static struct vpu_reg *reg_init(struct vpu_subdev_data *data, } if (size > data->reg_size) { - pr_err("vpu reg size %u is larger than hw reg size %u\n", - size, data->reg_size); extra_size = size - data->reg_size; size = data->reg_size; }