V4L/DVB: dvb: siano: free spinlock before schedule()
authorKulikov Vasiliy <segooon@gmail.com>
Tue, 27 Jul 2010 18:42:40 +0000 (15:42 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Mon, 9 Aug 2010 02:43:06 +0000 (23:43 -0300)
commitd0a38ce27e1b11116f02835b076fcb79db987e2c
treed1b638662451edc34b83ac31b4d31acf65b2be1b
parente03b9843dc30ba44dedffdfa4180f0723f04e3ab
V4L/DVB: dvb: siano: free spinlock before schedule()

Calling schedule() holding spinlock with disables irqs is improper. As
spinlock protects list coredev->buffers, it can be unlocked untill wakeup.
This bug was introduced in a9349315f65cd6a16e8fab1f6cf0fd40f379c4db.

Signed-off-by: Kulikov Vasiliy <segooon@gmail.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/dvb/siano/smscoreapi.c