diff --git a/utils/cam-configs/rpi5-gmsl.py b/utils/cam-configs/rpi5-gmsl.py index ff2e91e..64cad26 100644 --- a/utils/cam-configs/rpi5-gmsl.py +++ b/utils/cam-configs/rpi5-gmsl.py @@ -294,7 +294,10 @@ def find_devices(mdev_name, deser_regex): cameras = {} - for p in [p for p in deser.pads if p.index < 4]: + for p in deser.pads: + if not p.is_sink: + continue + if len(p.links) == 0: continue