This patch makes it possible for hosts (soc_camera drivers for the soc)
to select a different videobuf queue than VIDEOBUF_DMA_SG. This is needed
by the SuperH Mobile CEU hardware which requires physically contiguous
buffers. While at it, rename the spinlock callbacks to file callbacks.
Signed-off-by: Magnus Damm <damm@xxxxxxxxxx>
---
drivers/media/video/Kconfig | 4 ++--
drivers/media/video/pxa_camera.c | 15 ++++++++++++---
drivers/media/video/soc_camera.c | 27 +++++++--------------------
include/media/soc_camera.h | 6 +++---
4 files changed, 24 insertions(+), 28 deletions(-)
--- 0001/drivers/media/video/Kconfig
+++ work/drivers/media/video/Kconfig 2008-07-01 13:05:48.000000000 +0900
@@ -901,8 +901,7 @@ endif # V4L_USB_DRIVERS
config SOC_CAMERA
tristate "SoC camera support"
- depends on VIDEO_V4L2 && HAS_DMA
- select VIDEOBUF_DMA_SG
+ depends on VIDEO_V4L2