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 V4L/DVB (11668): ivtv: fix compiler warning. 2009-05-09 18:52:36 -03:00
ivtv-driver.h
ivtv-fileops.c V4L/DVB (11377): v4l: increase version numbers of drivers converted to v4l2_subdev. 2009-04-06 21:44:26 -03:00
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 V4L/DVB (11674): ivtv: fix incorrect bit tests 2009-05-09 18:53:10 -03:00
ivtv-ioctl.h
ivtv-irq.c V4L/DVB (11674): ivtv: fix incorrect bit tests 2009-05-09 18:53:10 -03:00
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 V4L/DVB (11380): v4l2-subdev: change s_routing prototype 2009-04-06 21:44:27 -03:00
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 V4L/DVB (11674): ivtv: fix incorrect bit tests 2009-05-09 18:53:10 -03:00
ivtv-yuv.h
ivtvfb.c V4L/DVB (11674): ivtv: fix incorrect bit tests 2009-05-09 18:53:10 -03:00
Kconfig
Makefile