]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
V4L/DVB (6060): ivtv: fix IVTV_IOC_DMA_FRAME bug introduced by highmem bugfix
authorHans Verkuil <hverkuil@xs4all.nl>
Sun, 19 Aug 2007 20:56:41 +0000 (17:56 -0300)
committerMauro Carvalho Chehab <mchehab@infradead.org>
Wed, 10 Oct 2007 01:05:48 +0000 (22:05 -0300)
commit8beb058f1ecde7bc0554d18ce1baa18b5dfb02d3
tree0ac375d2d009baca2d39ffae97734d04b167872d
parent25e3f8f40ecf61b87a4b6476ea6d00cb5b74628c
V4L/DVB (6060): ivtv: fix IVTV_IOC_DMA_FRAME bug introduced by highmem bugfix

The return value of ivtv_udma_fill_sg_list() was changed by the
highmem bugfix, but that return value was still used in ivtv-yuv.c.

Revert to the old return value, but in addition return -1 in case of
a memory allocation error.

Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
drivers/media/video/ivtv/ivtv-udma.c
drivers/media/video/ivtv/ivtv-yuv.c