V4L/DVB (5988): Fix OOP on videobuf-dvb when hibernating
authorSimon Arlott <simon@fire.lp0.eu>
Thu, 9 Aug 2007 14:29:33 +0000 (11:29 -0300)
committerMauro Carvalho Chehab <mchehab@infradead.org>
Wed, 10 Oct 2007 01:04:45 +0000 (22:04 -0300)
commit4ebcb48da1eace49ef5f2d83a91984085c6d702d
tree723e27aed421d5d6e1ec1c19ccde1666923feeb0
parent276e49a01a7e6c4a7bfb78618cf2f5befbf9f5de
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>
drivers/media/video/video-buf-dvb.c