[media] videobuf2: Fix a bug in fileio emulation error handling
authorHans de Goede <hdegoede@redhat.com>
Tue, 8 May 2012 17:47:39 +0000 (14:47 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Mon, 14 May 2012 12:20:54 +0000 (09:20 -0300)
commita67e17221429c0322e543ae4bf0b25259c3416a5
tree3c1649a0fcf2614365d755da53f81d549f81af04
parent1dd8728e2147820f653e5ea92802002fb26131f1
[media] videobuf2: Fix a bug in fileio emulation error handling

Various error paths in fileio_init where not setting the request-count
to 0 when unrequesting the buffers on error to init the fileio emulation.

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/video/videobuf2-core.c