kernel_optimize_test/drivers/media/dvb
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
..
b2c2 i2c: Shrink struct i2c_client 2007-05-01 23:26:28 +02:00
bt8xx header cleaning: don't include smp_lock.h when not used 2007-05-08 11:15:07 -07:00
cinergyT2 PCI: Cleanup the includes of <linux/pci.h> 2007-05-02 19:02:35 -07:00
dvb-core V4L/DVB (5512): Fix 3/3 for bug 7819: fixed hotplugging for dvbnet 2007-04-27 15:45:32 -03:00
dvb-usb i2c: Shrink struct i2c_client 2007-05-01 23:26:28 +02:00
frontends i2c: Shrink struct i2c_client 2007-05-01 23:26:28 +02:00
pluto2 V4L/DVB (5578): Workaround for bad hardare/firmware on some pluto2 devices 2007-05-09 10:12:35 -03:00
ttpci V4L/DVB (5592): DMA: Correctly free resources on error, sync PCI streamed data 2007-05-09 10:12:42 -03:00
ttusb-budget V4L/DVB (5361): Dvb-pll: Fix Kconfig files and allow dvb-pll to be optional 2007-04-27 15:44:01 -03:00
ttusb-dec V4L/DVB (5164): Compat: Handle input_register_device() change and some others 2007-02-21 13:35:10 -02:00
Kconfig V4L/DVB (4037): Make the bridge devices that depend on I2C dependant on I2C 2006-05-23 15:56:38 -03:00
Makefile [PATCH] dvb: add Pluto2 driver 2005-07-07 18:23:55 -07:00