linux_dsm_epyc7002/include/media
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
..
audiochip.h V4L/DVB (4666): Ensure the WM8775 driver is loaded generically for any board. 2006-10-03 15:13:48 -03:00
cs53l32a.h V4L/DVB (3599): Implement new routing commands for wm8775 and cs53l32a. 2006-03-24 16:27:00 -03:00
cx2341x.h V4L/DVB (5336): Cx23416 doc updates + rename CX2341X_ENC_UNKNOWN 2007-04-27 15:43:47 -03:00
cx25840.h V4L/DVB (3610): Added the new routing commands to cx25840. 2006-04-02 04:55:01 -03:00
i2c-addr.h V4L/DVB (3548): Renamed I2C_foo addresses to I2C_ADDR_foo 2006-03-24 16:26:51 -03:00
ir-common.h V4L/DVB (5070): Budget-ci: add support for the Technotrend 1500 bundled remote 2007-02-21 13:34:20 -02:00
ir-kbd-i2c.h V4L/DVB (4023): Subject: Pinnacle PCTV grey remote control support 2006-06-25 02:00:28 -03:00
ivtv.h V4L/DVB (5345): ivtv driver for Conexant cx23416/cx23415 MPEG encoder/decoder 2007-04-27 15:43:50 -03:00
msp3400.h V4L/DVB (3702): Make msp3400 routing defines more consistent 2006-04-02 04:56:11 -03:00
ovcamchip.h i2c: Cleanup the includes of <linux/i2c.h> 2007-05-01 23:26:29 +02:00
pwc-ioctl.h V4L/DVB (3835): [PATCH] update pwc driver 2006-06-25 01:58:20 -03:00
rds.h V4L/DVB (3546): Fix Compilation after moving bttv code 2006-03-24 16:26:51 -03:00
saa6752hs.h [PATCH] v4l: SAA7134 hybrid DVB 2005-07-12 16:01:05 -07:00
saa7115.h V4L/DVB (5113): Adds video output routing 2007-02-21 13:34:47 -02:00
saa7127.h V4L/DVB (3608): Implement new routing commands in saa7127.c 2006-04-02 04:54:56 -03:00
saa7146_vv.h V4L/DVB (5591): Saa7146: proper prototype for saa7146_video_do_ioctl() 2007-05-09 10:12:41 -03:00
saa7146.h V4L/DVB (5592): DMA: Correctly free resources on error, sync PCI streamed data 2007-05-09 10:12:42 -03:00
tuner-types.h V4L/DVB (4935): Added the capability of selecting fm gain by tuner 2006-12-10 09:05:52 -02:00
tuner.h i2c: Cleanup the includes of <linux/i2c.h> 2007-05-01 23:26:29 +02:00
tvaudio.h V4L/DVB (3577): Cleanup audio input handling 2006-03-24 16:26:56 -03:00
tveeprom.h V4L/DVB (4812): Detect presence of IR receiver/IR transmitter in tveeprom 2006-12-10 08:51:17 -02:00
tvp5150.h V4L/DVB (3712): Fix video input setting of em28xx, use _INT_S_VIDEO_ROUTING in tvp5150 2006-06-25 01:57:38 -03:00
upd64031a.h V4L/DVB (3666): Remove trailing newlines 2006-04-02 04:55:52 -03:00
upd64083.h V4L/DVB (3666): Remove trailing newlines 2006-04-02 04:55:52 -03:00
v4l2-chip-ident.h V4L/DVB (5355): Add VIDIOC_G_CHIP_IDENT to various i2c modules 2007-04-27 15:43:50 -03:00
v4l2-common.h V4L/DVB (5306): Add support for VIDIOC_G_CHIP_IDENT 2007-04-27 15:43:27 -03:00
v4l2-dev.h V4L/DVB (5306): Add support for VIDIOC_G_CHIP_IDENT 2007-04-27 15:43:27 -03:00
video-buf-dvb.h V4L/DVB (3762): Add sysfs device links to dvb devices 2006-06-25 01:57:55 -03:00
video-buf.h V4L/DVB (5147): Make vivi driver to use vmalloced pointers 2007-02-21 13:34:55 -02:00
wm8775.h V4L/DVB (3599): Implement new routing commands for wm8775 and cs53l32a. 2006-03-24 16:27:00 -03:00