video: driver: request api fixes for v4l2-compliance

- add support for prepare_buf
- check if client has configured invalid fd for metadata
  buffer fd control.

Change-Id: I576d02be05e4692a5ab45286895c34284f08651c
Signed-off-by: Darshana Patil <darshana@quicinc.com>
This commit is contained in:
Darshana Patil
2022-03-10 16:59:31 -08:00
parent 5b1f70c728
commit eef358cf9c
10 changed files with 74 additions and 6 deletions

View File

@@ -38,6 +38,8 @@ int msm_v4l2_querybuf(struct file *file, void *fh,
struct v4l2_buffer *b);
int msm_v4l2_create_bufs(struct file *filp, void *fh,
struct v4l2_create_buffers *b);
int msm_v4l2_prepare_buf(struct file *filp, void *fh,
struct v4l2_buffer *b);
int msm_v4l2_qbuf(struct file *file, void *fh,
struct v4l2_buffer *b);
int msm_v4l2_dqbuf(struct file *file, void *fh,