[media] s2255drv: fix spinlock issue
authorsensoray-dev <linux-dev@sensoray.com>
Tue, 4 Nov 2014 20:34:03 +0000 (17:34 -0300)
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>
Tue, 11 Nov 2014 10:47:22 +0000 (08:47 -0200)
commit9694fbec951b9aa56815d423f2c53d17a4a9635c
tree53e89ee94f14adc07a61528f0ee7533f70d06d40
parent6db47fa1f1a214bc1ea5a59a32f58188f6b255e9
[media] s2255drv: fix spinlock issue

qlock spinlock controls access to buf_list and sequence.
qlock spinlock should not be locked during a copy to video buffers, an
operation that may sleep.

Signed-off-by: Dean Anderson <linux-dev@sensoray.com>
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
drivers/media/usb/s2255/s2255drv.c