mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-07-22 23:04:43 +00:00
media: v4l2-ctrl: v4l2_ctrl_request_setup returns with error upon failure
If one of the controls fails to set, then 'v4l2_ctrl_request_setup' immediately returns with the error code. Signed-off-by: Dafna Hirschfeld <dafna3@gmail.com> Reviewed-by: Paul Kocialkowski <paul.kocialkowski@bootlin.com> Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl> Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
This commit is contained in:
parent
4d10452cd1
commit
09ca38a507
2 changed files with 12 additions and 8 deletions
|
@ -1127,7 +1127,7 @@ __poll_t v4l2_ctrl_poll(struct file *file, struct poll_table_struct *wait);
|
|||
* applying control values in a request is only applicable to memory-to-memory
|
||||
* devices.
|
||||
*/
|
||||
void v4l2_ctrl_request_setup(struct media_request *req,
|
||||
int v4l2_ctrl_request_setup(struct media_request *req,
|
||||
struct v4l2_ctrl_handler *parent);
|
||||
|
||||
/**
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue