aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/platform/omap3isp
diff options
context:
space:
mode:
authorEzequiel Garcia <ezequiel@collabora.com>2019-07-20 07:47:07 -0400
committerMauro Carvalho Chehab <mchehab+samsung@kernel.org>2019-07-25 06:26:49 -0400
commit173f6eacc8a89ae4b08b166735930e6c46951a81 (patch)
tree97313fe4f31b98cc50dd506c8ca96d8f5b5c08cc /drivers/media/platform/omap3isp
parentmedia: hdpvr: Add device num check and handling (diff)
downloadlinux-dev-173f6eacc8a89ae4b08b166735930e6c46951a81.tar.xz
linux-dev-173f6eacc8a89ae4b08b166735930e6c46951a81.zip
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>
Diffstat (limited to 'drivers/media/platform/omap3isp')
-rw-r--r--drivers/media/platform/omap3isp/ispvideo.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/media/platform/omap3isp/ispvideo.c b/drivers/media/platform/omap3isp/ispvideo.c
index b52c6fe825ac..ee183c35ff3b 100644
--- a/drivers/media/platform/omap3isp/ispvideo.c
+++ b/drivers/media/platform/omap3isp/ispvideo.c
@@ -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);