diff options
author | Hans Verkuil <hans.verkuil@cisco.com> | 2012-02-02 06:26:20 -0500 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2012-02-14 13:38:23 -0500 |
commit | 42194e728f067cde09a95ce522c108756d44c0be (patch) | |
tree | 629bf071e17dfa21da1f953d78cf8cf6fd2d5ab5 /drivers/media/video/v4l2-subdev.c | |
parent | e2ecb257eebd8525029f43fcb4f922c4976dba53 (diff) |
[media] v4l2-subdev: add start/end messages for log_status
Add the start and end messages for log_status when called from a
subdev device node.
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Cc: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/video/v4l2-subdev.c')
-rw-r--r-- | drivers/media/video/v4l2-subdev.c | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/drivers/media/video/v4l2-subdev.c b/drivers/media/video/v4l2-subdev.c index 41d118ee2de6..6fe88e965a8c 100644 --- a/drivers/media/video/v4l2-subdev.c +++ b/drivers/media/video/v4l2-subdev.c | |||
@@ -194,8 +194,16 @@ static long subdev_do_ioctl(struct file *file, unsigned int cmd, void *arg) | |||
194 | } | 194 | } |
195 | #endif | 195 | #endif |
196 | 196 | ||
197 | case VIDIOC_LOG_STATUS: | 197 | case VIDIOC_LOG_STATUS: { |
198 | return v4l2_subdev_call(sd, core, log_status); | 198 | int ret; |
199 | |||
200 | pr_info("%s: ================= START STATUS =================\n", | ||
201 | sd->name); | ||
202 | ret = v4l2_subdev_call(sd, core, log_status); | ||
203 | pr_info("%s: ================== END STATUS ==================\n", | ||
204 | sd->name); | ||
205 | return ret; | ||
206 | } | ||
199 | 207 | ||
200 | #if defined(CONFIG_VIDEO_V4L2_SUBDEV_API) | 208 | #if defined(CONFIG_VIDEO_V4L2_SUBDEV_API) |
201 | case VIDIOC_SUBDEV_G_FMT: { | 209 | case VIDIOC_SUBDEV_G_FMT: { |