aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/video/videodev.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/media/video/videodev.c')
-rw-r--r--drivers/media/video/videodev.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/drivers/media/video/videodev.c b/drivers/media/video/videodev.c
index 5c9f2116d7bf..fdfef0b53315 100644
--- a/drivers/media/video/videodev.c
+++ b/drivers/media/video/videodev.c
@@ -1532,6 +1532,16 @@ static int __video_do_ioctl(struct inode *inode, struct file *file,
1532 break; 1532 break;
1533 } 1533 }
1534#endif 1534#endif
1535 case VIDIOC_G_CHIP_IDENT:
1536 {
1537 struct v4l2_chip_ident *p=arg;
1538 if (!vfd->vidioc_g_chip_ident)
1539 break;
1540 ret=vfd->vidioc_g_chip_ident(file, fh, p);
1541 if (!ret)
1542 dbgarg (cmd, "chip_ident=%u, revision=0x%x\n", p->ident, p->revision);
1543 break;
1544 }
1535 } /* switch */ 1545 } /* switch */
1536 1546
1537 if (vfd->debug & V4L2_DEBUG_IOCTL_ARG) { 1547 if (vfd->debug & V4L2_DEBUG_IOCTL_ARG) {