media: v4l2-ctrls: allow V4L2_CTRL_TYPE_BUTTON with request api
authorDikshita Agarwal <dikshita@codeaurora.org>
Tue, 3 Nov 2020 06:57:37 +0000 (07:57 +0100)
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Tue, 17 Nov 2020 06:11:41 +0000 (07:11 +0100)
commit273775eea8ad94bfdde3a82b96836e8ec34dbe08
tree09c57e7bd5e9d6ac374c22efdf154acd6ad19f89
parente6938cc1cb7763a363f62b78147f1f2fb972f49c
media: v4l2-ctrls: allow V4L2_CTRL_TYPE_BUTTON with request api

remove check for V4L2_CTRL_TYPE_BUTTON from
v4l2_ctrl_request_clone and v4l2_ctrl_request_setup().

Signed-off-by: Dikshita Agarwal <dikshita@codeaurora.org>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
drivers/media/v4l2-core/v4l2-ctrls.c