Skip to content

Commit e009ebd

Browse files
rjarzmikmchehab
authored andcommitted
[media] media: platform: pxa_camera: convert to vb2
Convert pxa_camera from videobuf to videobuf2. As the soc_camera was already compatible with videobuf2, the port is quite straightforward. The special case of this code in which the vb2 to prepare is "too big" in terms of size for the new capture format, the pxa_camera will fail. Signed-off-by: Robert Jarzmik <robert.jarzmik@free.fr> Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
1 parent c61e74e commit e009ebd

File tree

2 files changed

+269
-314
lines changed

2 files changed

+269
-314
lines changed

drivers/media/platform/soc_camera/Kconfig

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,8 @@ config SOC_CAMERA_PLATFORM
1919

2020
config VIDEO_PXA27x
2121
tristate "PXA27x Quick Capture Interface driver"
22-
depends on VIDEO_DEV && PXA27x && SOC_CAMERA
23-
select VIDEOBUF_DMA_SG
22+
depends on VIDEO_DEV && PXA27x && SOC_CAMERA && HAS_DMA
23+
select VIDEOBUF2_DMA_SG
2424
select SG_SPLIT
2525
---help---
2626
This is a v4l2 driver for the PXA27x Quick Capture Interface

0 commit comments

Comments
 (0)