android_kernel_xiaomi_sm8350/drivers/media/video/ivtv
Alan Cox e9e10124e2 ivtv: Fix PCI DMA direction
The ivtv stream buffers may be for receive or for send but the attached
sg handle is always destined cpu->device.  We flush it correctly but the
allocation is wrongly done with the same type as the buffers.

See bug: http://bugzilla.kernel.org/show_bug.cgi?id=13385

(Note this doesn't close the bug - it fixes the ivtv part and in turn
the logging next shows up some rather alarming DMA sg list warnings in
libata)

Signed-off-by: Alan Cox <alan@linux.intel.com>
Acked-by: Hans Verkuil <hverkuil@xs4all.nl>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2009-06-05 08:05:23 -07:00
..
ivtv-cards.c
ivtv-cards.h
ivtv-controls.c
ivtv-controls.h
ivtv-driver.c
ivtv-driver.h
ivtv-fileops.c
ivtv-fileops.h
ivtv-firmware.c
ivtv-firmware.h
ivtv-gpio.c V4L/DVB (11675): ivtv/radio: fix V4L2_TUNER_MODE/V4L2_TUNER_SUB confusion 2009-05-09 18:53:16 -03:00
ivtv-gpio.h
ivtv-i2c.c
ivtv-i2c.h
ivtv-ioctl.c
ivtv-ioctl.h
ivtv-irq.c
ivtv-irq.h
ivtv-mailbox.c
ivtv-mailbox.h
ivtv-queue.c ivtv: Fix PCI DMA direction 2009-06-05 08:05:23 -07:00
ivtv-queue.h
ivtv-routing.c
ivtv-routing.h
ivtv-streams.c
ivtv-streams.h
ivtv-udma.c
ivtv-udma.h
ivtv-vbi.c
ivtv-vbi.h
ivtv-version.h
ivtv-yuv.c
ivtv-yuv.h
ivtvfb.c
Kconfig
Makefile