media: uvcvideo: Provide sync and async uvc_ctrl_status_event
authorRicardo Ribalda <ribalda@chromium.org>
Wed, 23 Dec 2020 13:35:20 +0000 (14:35 +0100)
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Wed, 27 Jan 2021 14:03:02 +0000 (15:03 +0100)
commitd9c8763e61295be0a21dc04ad9c379d5d17c3d86
tree04d6232e57ba79d117f575eca1833b8a8fc668a8
parent7532dad6634031d083df7af606fac655b8d08b5c
media: uvcvideo: Provide sync and async uvc_ctrl_status_event

Split the functionality of void uvc_ctrl_status_event_work in two, so it
can be called by functions outside interrupt context and not part of an
URB.

Signed-off-by: Ricardo Ribalda <ribalda@chromium.org>
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
drivers/media/usb/uvc/uvc_ctrl.c
drivers/media/usb/uvc/uvc_status.c
drivers/media/usb/uvc/uvcvideo.h