aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python
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 /tools/perf/scripts/python
parentmedia: uvcvideo: Protect queue internals with helper (diff)
downloadlinux-c50c9c1e659d8de9c13441f243e7938413be6e71.tar.gz
linux-c50c9c1e659d8de9c13441f243e7938413be6e71.zip
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 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions