]> err.no Git - linux-2.6/commit
V4L/DVB (6323): V4L: cinergyT2, remove bad usage of ERESTARTSYS
authorJiri Slaby <jirislaby@gmail.com>
Mon, 15 Oct 2007 16:07:30 +0000 (13:07 -0300)
committerMauro Carvalho Chehab <mchehab@infradead.org>
Mon, 22 Oct 2007 14:01:31 +0000 (12:01 -0200)
commit475d5263114d55eb9024e6ab4b6ea74e28386970
tree30625190caaae24933d685c4c6637e67579cf84c
parent3bcc95760c9ee7adb8509173b78914339baa7f4f
V4L/DVB (6323): V4L: cinergyT2, remove bad usage of ERESTARTSYS

cinergyT2, remove bad usage of ERESTARTSYS

test of cinergyt2->disconnect_pending doesn't ensure pending signal and so
ERESTARTSYS would reach userspace, which is not permitted. Change it to
EAGAIN.

Signed-off-by: Jiri Slaby <jirislaby@gmail.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
drivers/media/dvb/cinergyT2/cinergyT2.c