[2/2] libcamera: mali-c55: Correct expected entity function
diff mbox series

Message ID 20250717220539.2434556-2-dan.scally@ideasonboard.com
State New
Headers show
Series
  • [1/2] libcamera: mali-c55: Set bytesused appropriately
Related show

Commit Message

Daniel Scally July 17, 2025, 10:05 p.m. UTC
The mali-c55 pipeline handler currently looks for a media entity with
the function MEDIA_ENT_F_IO_V4L to recognise a memory input subdevice.
This is apparently intended for video device entities, and we should
be looking for MEDIA_ENT_F_PROC_VIDEO_PIXEL_FORMATTER. Correct the
entity function that the pipeline handler looks for.

Signed-off-by: Daniel Scally <dan.scally@ideasonboard.com>
---
 src/libcamera/pipeline/mali-c55/mali-c55.cpp | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Patch
diff mbox series

diff --git a/src/libcamera/pipeline/mali-c55/mali-c55.cpp b/src/libcamera/pipeline/mali-c55/mali-c55.cpp
index 17ad2055..25540ba1 100644
--- a/src/libcamera/pipeline/mali-c55/mali-c55.cpp
+++ b/src/libcamera/pipeline/mali-c55/mali-c55.cpp
@@ -1709,7 +1709,7 @@  bool PipelineHandlerMaliC55::match(DeviceEnumerator *enumerator)
 	 *
 	 * MEDIA_ENT_F_CAM_SENSOR - The test pattern generator
 	 * MEDIA_ENT_F_VID_IF_BRIDGE - A CSI-2 receiver
-	 * MEDIA_ENT_F_IO_V4L - An input device
+	 * MEDIA_ENT_F_PROC_VIDEO_PIXEL_FORMATTER - An input device
 	 *
 	 * The last one will be unsupported for now. The TPG is relatively easy,
 	 * we just register a Camera for it. If we have a CSI-2 receiver we need
@@ -1735,7 +1735,7 @@  bool PipelineHandlerMaliC55::match(DeviceEnumerator *enumerator)
 				return registered;
 
 			break;
-		case MEDIA_ENT_F_IO_V4L:
+		case MEDIA_ENT_F_PROC_VIDEO_PIXEL_FORMATTER:
 			LOG(MaliC55, Warning) << "Memory input not yet supported";
 			break;
 		default: