]> err.no Git - linux-2.6/commit
V4L/DVB (7563): em28xx: Add missing checks
authorMauro Carvalho Chehab <mchehab@infradead.org>
Sun, 13 Apr 2008 18:08:55 +0000 (15:08 -0300)
committerMauro Carvalho Chehab <mchehab@infradead.org>
Thu, 24 Apr 2008 17:09:39 +0000 (14:09 -0300)
commitdbecb44c11d9517d604240b53581951ac4e3b5e6
tree3bf65736b1ae105e16227110452aa72d2dc21847
parent0cf4daee31d88086cf3508d1d8d1f4e451c27906
V4L/DVB (7563): em28xx: Add missing checks

There are some cases where nobody is waiting for a buffer. Due to the
lack of check, if you try to abort the userspace app, machine were
hanging, since IRQ were trying to use a buffer that were disallocated.

Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
drivers/media/video/em28xx/em28xx-video.c