diff --git a/drivers/media/platform/tegra/camera/vi/channel.c b/drivers/media/platform/tegra/camera/vi/channel.c index 8a325f1f..e818f61e 100644 --- a/drivers/media/platform/tegra/camera/vi/channel.c +++ b/drivers/media/platform/tegra/camera/vi/channel.c @@ -703,11 +703,12 @@ tegra_channel_queue_setup(struct vb2_queue *vq, * of the requested image size. Although this did not harm the * flow, according to "v4l2-compliance", we need to check if * the requested size is invalid. + * Printing this error as info, to avoid kernel error/warning failure. */ if (*nplanes) { if (sizes[0] < chan->format.sizeimage) { - pr_err("%s: sizes[0] = %d chan->format.sizeimage = %d ...\n" - ,__func__,sizes[0],chan->format.sizeimage); + pr_info("%s: sizes[0] = %d, chan->format.sizeimage = %d, for num_planes = %d ...\n" + , __func__, sizes[0], chan->format.sizeimage, *nplanes); return -EINVAL; } } else {