media: v4l: ctrls: Add debug messages
Currently, the v4l2 control code is a bit silent on errors. Add debug messages on (hopefully) most of the error paths. Signed-off-by: Ezequiel Garcia <ezequiel@collabora.com> Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl> Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
This commit is contained in:

committed by
Mauro Carvalho Chehab

parent
d4a6a9537b
commit
173f6eacc8
@@ -1020,8 +1020,8 @@ static int isp_video_check_external_subdevs(struct isp_video *video,
|
||||
|
||||
ctrls.count = 1;
|
||||
ctrls.controls = &ctrl;
|
||||
|
||||
ret = v4l2_g_ext_ctrls(pipe->external->ctrl_handler, NULL, &ctrls);
|
||||
ret = v4l2_g_ext_ctrls(pipe->external->ctrl_handler, &video->video,
|
||||
NULL, &ctrls);
|
||||
if (ret < 0) {
|
||||
dev_warn(isp->dev, "no pixel rate control in subdev %s\n",
|
||||
pipe->external->name);
|
||||
|
Reference in New Issue
Block a user