1
linux/drivers/media/common
Jon Burgess 87c3019d7b V4L/DVB (5592): DMA: Correctly free resources on error, sync PCI streamed data
I added saa7146_vmalloc_destroy_pgtable() which frees the resources
allocated by saa7146_vmalloc_build_pgtable() and updated the callers in
budget-core.c and av7110.c. I have also been through the updated
functions and updated the error paths to ensure they free all allocated
resources on error.
I also realised that there are other callers to saa7146_pgtable_free()
which did not have any sg DMA mapped so it seems wrong to add the
pci_unmap_sg() into that function. Instead I created
saa7146_vmalloc_destroy_pgtable() to do this.
Also included in this patch are the previous fixes for pci_unmap_sg()
and syncing the PCI streamed data to work with a SWIOTLB and match the
requirements documented in DMA-API.txt.

Signed-off-by: Jon Burgess <jburgess777@googlemail.com>
Signed-off-by: Oliver Endriss <o.endriss@gmx.de>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2007-05-09 10:12:42 -03:00
..
ir-functions.c V4L/DVB (5332): Ir_rc5_timer_end decoder lockup fix 2007-03-27 08:45:53 -03:00
ir-keymaps.c V4L/DVB (5520): Add support for the extra keys in the black Technotrend 1500 IR 2007-04-27 15:45:35 -03:00
Kconfig V4L/DVB (5193): Remove the unused kernel config option VIDEO_VIDEOBUF 2007-02-21 13:35:16 -02:00
Makefile V4L/DVB (3770): Kill drivers/media/common/saa7146_vv_ksyms.c 2006-06-25 01:58:02 -03:00
saa7146_core.c V4L/DVB (5592): DMA: Correctly free resources on error, sync PCI streamed data 2007-05-09 10:12:42 -03:00
saa7146_fops.c V4L/DVB (5591): Saa7146: proper prototype for saa7146_video_do_ioctl() 2007-05-09 10:12:41 -03:00
saa7146_hlp.c typo fixes: bandwith -> bandwidth 2006-06-30 18:19:55 +02:00
saa7146_i2c.c V4L/DVB (4915): Saa7146: Add timeout protection for I2C interrupt 2006-12-10 09:05:34 -02:00
saa7146_vbi.c V4L/DVB (3516): Make video_buf more generic 2006-03-24 16:26:49 -03:00
saa7146_video.c V4L/DVB (5545): Saa7146: Release capture buffers on device close 2007-04-27 15:45:48 -03:00