diff options
author | Bhupesh Sharma | 2012-03-22 04:50:37 +0100 |
---|---|---|
committer | Mauro Carvalho Chehab | 2012-04-10 20:46:02 +0200 |
commit | 95faf82bd3ea607f8e1ca78930c49b71078266e6 (patch) | |
tree | 325a5529c3c5b4d46dcbaecb3800f844321918ca /drivers/media/video/em28xx/em28xx-core.c | |
parent | [media] mm/drivers: use vm_flags_t for vma flags (diff) | |
download | kernel-qcow2-linux-95faf82bd3ea607f8e1ca78930c49b71078266e6.tar.gz kernel-qcow2-linux-95faf82bd3ea607f8e1ca78930c49b71078266e6.tar.xz kernel-qcow2-linux-95faf82bd3ea607f8e1ca78930c49b71078266e6.zip |
[media] usb: gadget/uvc: Remove non-required locking from 'uvc_queue_next_buffer' routine
This patch removes the non-required spinlock acquire/release calls on
'queue_irqlock' from 'uvc_queue_next_buffer' routine.
This routine is called from 'video->encode' function (which translates to either
'uvc_video_encode_bulk' or 'uvc_video_encode_isoc') in 'uvc_video.c'.
As, the 'video->encode' routines are called with 'queue_irqlock' already held,
so acquiring a 'queue_irqlock' again in 'uvc_queue_next_buffer' routine causes
a spin lock recursion.
Signed-off-by: Bhupesh Sharma <bhupesh.sharma@st.com>
Acked-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/video/em28xx/em28xx-core.c')
0 files changed, 0 insertions, 0 deletions