]> git.baikalelectronics.ru Git - kernel.git/commit
[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)
commitfee49b22839b3693d69993a6befab94400afee8c
tree3c1649a0fcf2614365d755da53f81d549f81af04
parent70e319e5bd37c8dc20ae0711df05dfe420d79567
[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