media: v4l2-ctrl: v4l2_ctrl_request_setup returns with error upon failure
authorDafna Hirschfeld <dafna3@gmail.com>
Wed, 6 Mar 2019 21:13:26 +0000 (16:13 -0500)
committerMauro Carvalho Chehab <mchehab+samsung@kernel.org>
Mon, 25 Mar 2019 17:29:52 +0000 (13:29 -0400)
commit09ca38a50795a263d2b16dc95794dc5bc17c1d5c
treeb870271c387b22c199702269e98d3404f123bb66
parent4d10452cd1ed619d95fde81cef837069f4c754cd
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>
drivers/media/v4l2-core/v4l2-ctrls.c
include/media/v4l2-ctrls.h