Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

V4L/DVB (7196): Lift videobuf-dma-sg's PCI dependency, until it is fixed

videobuf-dma-sg.c should be converted to the generic DMA API to make it
also useful for non-PCI configurations. Even now it can be used thanks
to compatibility macros in include/asm-generic/pci-dma-compat.h. This
has been verified to work on PXA270 CPU with the pxa_camera.c soc-camera
driver. For this the following temporary work-around is needed.

Signed-off-by: Guennadi Liakhovetski <g.liakhovetski@pengutronix.de>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>

authored by

Guennadi Liakhovetski and committed by
Mauro Carvalho Chehab
6d43cec8 ab6c46e2

+1 -1
+1 -1
drivers/media/Kconfig
··· 160 160 tristate 161 161 162 162 config VIDEOBUF_DMA_SG 163 - depends on PCI 163 + depends on PCI || ARCH_PXA 164 164 select VIDEOBUF_GEN 165 165 tristate 166 166