V4L/DVB (5699): Cinergyt2: fix file release handler
authorAndrew Morton <akpm@linux-foundation.org>
Sat, 26 May 2007 10:54:21 +0000 (07:54 -0300)
committerMauro Carvalho Chehab <mchehab@infradead.org>
Fri, 8 Jun 2007 11:21:12 +0000 (08:21 -0300)
commitffeb9ec72e18e16d0b0835d959cdf01650758638
tree5419b16dbf2e31447f5f2ae66fa07be3427a2dec
parent624fc7f52b48f69fd9d1fe7a594c211762c89825
V4L/DVB (5699): Cinergyt2: fix file release handler

If this mutex_lock_interruptible() does fail due to signal_pending() then the
state of the driver will get trashed in interesting ways, because userspace
cannot and will not retry the close().

Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
drivers/media/dvb/cinergyT2/cinergyT2.c