linux/drivers/media/dvb/ttpci
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
..
av7110_av.c header cleaning: don't include smp_lock.h when not used 2007-05-08 11:15:07 -07:00
av7110_av.h [PATCH] dvb: ttpci: more error handling for firmware communication 2005-07-07 18:23:58 -07:00
av7110_ca.c header cleaning: don't include smp_lock.h when not used 2007-05-08 11:15:07 -07:00
av7110_ca.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
av7110_hw.c header cleaning: don't include smp_lock.h when not used 2007-05-08 11:15:07 -07:00
av7110_hw.h V4L/DVB (5307): Add support for the cx23415 MPEG decoding features. 2007-04-27 15:43:28 -03:00
av7110_ipack.c [PATCH] dvb: ttpci: kj printk fix 2005-07-07 18:23:58 -07:00
av7110_ipack.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
av7110_ir.c V4L/DVB (5440): Dvb-ttpci: Infrared remote initialization fix 2007-04-27 15:44:49 -03:00
av7110_v4l.c header cleaning: don't include smp_lock.h when not used 2007-05-08 11:15:07 -07:00
av7110.c V4L/DVB (5592): DMA: Correctly free resources on error, sync PCI streamed data 2007-05-09 10:12:42 -03:00
av7110.h V4L/DVB (5334): Dvb-ttpci: Infrared remote control refactoring 2007-04-27 15:43:45 -03:00
budget-av.c V4L/DVB (5544): Budget-av: Make inversion setting configurable, add KNC ONE V1.0 card 2007-04-27 15:45:48 -03:00
budget-ci.c V4L/DVB (5335): Budget-ci: Use the repeat handling of the input subsystem 2007-04-27 15:43:46 -03:00
budget-core.c V4L/DVB (5592): DMA: Correctly free resources on error, sync PCI streamed data 2007-05-09 10:12:42 -03:00
budget-patch.c Fix misc .c/.h comment typos 2006-11-30 05:24:39 +01:00
budget.c V4L/DVB (4916): Av7110,budget,budget-ci,budget-av: Use interrupt mode for I2C transfers 2006-12-10 09:05:35 -02:00
budget.h V4L/DVB (5543): Tda10023: Add support for frontend TDA10023 2007-04-27 15:45:47 -03:00
fdump.c [PATCH] V4L/DVB: (3086a) Whitespaces cleanups part 1 2005-12-12 08:57:44 -08:00
Kconfig V4L/DVB (5543): Tda10023: Add support for frontend TDA10023 2007-04-27 15:45:47 -03:00
Makefile V4L/DVB (4106): Fix problems with AV7110 firmware building 2006-06-25 02:05:09 -03:00
ttpci-eeprom.c V4L/DVB (3218): Whitespace cleanups 2006-01-09 15:25:34 -02:00
ttpci-eeprom.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00