android_kernel_xiaomi_sm8350/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
cs53l32a.h
cx2341x.h V4L/DVB (5336): Cx23416 doc updates + rename CX2341X_ENC_UNKNOWN 2007-04-27 15:43:47 -03:00
cx25840.h
i2c-addr.h
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
ivtv.h V4L/DVB (5345): ivtv driver for Conexant cx23416/cx23415 MPEG encoder/decoder 2007-04-27 15:43:50 -03:00
msp3400.h
ovcamchip.h i2c: Cleanup the includes of <linux/i2c.h> 2007-05-01 23:26:29 +02:00
pwc-ioctl.h
rds.h
saa6752hs.h
saa7115.h V4L/DVB (5113): Adds video output routing 2007-02-21 13:34:47 -02:00
saa7127.h
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
tveeprom.h
tvp5150.h
upd64031a.h
upd64083.h
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
video-buf.h V4L/DVB (5147): Make vivi driver to use vmalloced pointers 2007-02-21 13:34:55 -02:00
wm8775.h