aboutsummaryrefslogtreecommitdiff
path: root/drivers/media/usb/usbvision
diff options
context:
space:
mode:
authorKieran Bingham <kieran.bingham@ideasonboard.com>2018-01-03 12:33:49 -0500
committerMauro Carvalho Chehab <mchehab+samsung@kernel.org>2018-12-05 03:11:01 -0500
commitc50c9c1e659d8de9c13441f243e7938413be6e71 (patch)
tree591c6963785086202e8627d31d0209136005f1ac /drivers/media/usb/usbvision
parente829b262a6782ee36ee04e32a2fc7341385ac7fe (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/usbvision')
0 files changed, 0 insertions, 0 deletions