mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-28 18:51:56 -04:00
V4L/DVB (7947): videodev: add vidioc_g_std callback.
The default videodev behavior for VIDIOC_G_STD is not correct for all devices. Add a new callback that drivers can use instead. Signed-off-by: Hans Verkuil <[email protected]> Signed-off-by: Mauro Carvalho Chehab <[email protected]>
This commit is contained in:
parent
7bb846afce
commit
b2de2313f1
2 changed files with 10 additions and 5 deletions
|
|
@ -212,8 +212,9 @@ struct video_device
|
|||
int (*vidioc_streamoff)(struct file *file, void *fh, enum v4l2_buf_type i);
|
||||
|
||||
/* Standard handling
|
||||
G_STD and ENUMSTD are handled by videodev.c
|
||||
ENUMSTD is handled by videodev.c
|
||||
*/
|
||||
int (*vidioc_g_std) (struct file *file, void *fh, v4l2_std_id *norm);
|
||||
int (*vidioc_s_std) (struct file *file, void *fh, v4l2_std_id *norm);
|
||||
int (*vidioc_querystd) (struct file *file, void *fh, v4l2_std_id *a);
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue