Skip to content
Commit a5658a6f authored by Dave Stevenson's avatar Dave Stevenson Committed by Dom Cobley
Browse files

drivers: media: cfe: Find the source pads on the sensor entity



The driver was assuming that pad 0 on the sensor entity was the
appropriate source pad, but this isn't necessarily the case.
With video-mux, it has the sink pads first, and then the source
pad as the last one.

Iterate through the sensor pads to find the relevant source pads.

Signed-off-by: default avatarDave Stevenson <dave.stevenson@raspberrypi.com>
parent b0fd836b
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment