]> git.openfabrics.org - ~emulex/infiniband.git/commit
V4L/DVB: dvb: fix smscore_getbuffer() logic
authorRichard Zidlicky <rz@linux-m68k.org>
Tue, 24 Aug 2010 12:52:36 +0000 (09:52 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Tue, 28 Sep 2010 01:21:59 +0000 (22:21 -0300)
commit3cdadc50bbe8f04c1231c8af614cafd7ddd622bf
treef42de4ed576985173c30d19befbe5570a6798948
parent970d14c6cca8c71307a4d23fe373c5895175b2d7
V4L/DVB: dvb: fix smscore_getbuffer() logic

Drivers shouldn't sleep while holding a spinlock. A previous workaround
were to release the spinlock before callinc schedule().

This patch uses a different approach: it just waits for the
siano hardware to answer.

Signed-off-by: Richard Zidlicky <rz@linux-m68k.org>
Cc: stable@kernel.org
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/dvb/siano/smscoreapi.c