diff options
author | Kieran Bingham <kieran.bingham@ideasonboard.com> | 2018-01-03 12:33:49 -0500 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab+samsung@kernel.org> | 2018-12-05 03:11:01 -0500 |
commit | c50c9c1e659d8de9c13441f243e7938413be6e71 (patch) | |
tree | 591c6963785086202e8627d31d0209136005f1ac /drivers/media/usb/uvc/uvc_metadata.c | |
parent | e829b262a6782ee36ee04e32a2fc7341385ac7fe (diff) |
media: uvcvideo: queue: Simplify spin-lock usage
Both uvc_start_streaming(), and uvc_stop_streaming() are called from
userspace context, with interrupts enabled. As such, they do not need to
save the IRQ state, and can use spin_lock_irq() and spin_unlock_irq()
respectively.
Signed-off-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
Diffstat (limited to 'drivers/media/usb/uvc/uvc_metadata.c')
0 files changed, 0 insertions, 0 deletions