mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-08 11:50:43 +09:00
media: v4l2-core: add support for VIDIOC_G_INPUT ioctl on subdev nodes
Add VIDIOC_G_INPUT ioctl support to get the input status of subdev. Signed-off-by: Dingxian Wen <shawn.wen@rock-chips.com> Change-Id: I7d4253e058e17db7e2247efab17f639f4f3ef508
This commit is contained in:
@@ -495,6 +495,9 @@ static long subdev_do_ioctl(struct file *file, unsigned int cmd, void *arg)
|
||||
case VIDIOC_SUBDEV_S_DV_TIMINGS:
|
||||
return v4l2_subdev_call(sd, video, s_dv_timings, arg);
|
||||
|
||||
case VIDIOC_G_INPUT:
|
||||
return v4l2_subdev_call(sd, video, g_input_status, arg);
|
||||
|
||||
case VIDIOC_SUBDEV_G_STD:
|
||||
return v4l2_subdev_call(sd, video, g_std, arg);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user