From b94c35792c082f248df37c44d1be2e289cfc342a Mon Sep 17 00:00:00 2001 From: Cosmin Tanislav Date: Fri, 7 Feb 2025 16:20:37 +0200 Subject: [PATCH] rpi5-gmsl: skip deser's non-source pads --- utils/cam-configs/rpi5-gmsl.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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