V4L/DVB (5988): Fix OOP on videobuf-dvb when hibernating

Since videobuf_waiton is called with intr=1, it can return -EINTR and therefore
err may be non-zero. This happens when the system goes into the standby state.

Without the BUG() occurring, there's no problem with standby mode while DVB
is being used.

Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
This commit is contained in:
Simon Arlott 2007-08-09 11:29:33 -03:00 committed by Mauro Carvalho Chehab
commit 4ebcb48da1