Re: [PATCH v2, 2/2] media: v4l: Add Ro request api for capture queue

2020-06-23 Thread dikshita
Hi Yunfei Dong, Thanks for the patch. I believe there is one additional change required in vb2_core_queue_init() to allow ro request if the driver sets supports_ro_requests while queue_init. thanks, Dikshita On 2020-06-22 07:22, Yunfei Dong wrote: Add Read-only(Ro) request for capture queue.

[PATCH v2, 2/2] media: v4l: Add Ro request api for capture queue

2020-06-21 Thread Yunfei Dong
Add Read-only(Ro) request for capture queue. Ro request mean that user driver can get ext ctrls, buf set ext ctrls is not allowed. Add param ro_requests in struct v4l2_ctrl_handler to present current ctrl is read only. Add param ro_ctrl_handler in struct v4l2_fh used for ro request. When set/get