diff options
| author | Luca Ceresoli <luca.ceresoli@bootlin.com> | 2026-01-31 16:58:35 +0100 |
|---|---|---|
| committer | Luca Ceresoli <luca.ceresoli@bootlin.com> | 2026-02-23 10:10:34 +0100 |
| commit | fe0b1b8269eba268a7dee293b32d6c008a6c3fec (patch) | |
| tree | 752ec348808e3436b0f3eae8f05590434b0b1b4e /tools/perf/scripts/python/bin | |
| parent | df8c7892e06efa5df2aa780a338f33a4f666370b (diff) | |
drm/mcde: dsi: mcde_dsi_bind: break when a panel or bridge is found
mcde_dsi_bind() has a loop over all subnodes looking for a panel, but does
not exit when a match is found and only stores the last match. However this
will be problematic when introducing refcounting on the struct drm_device
pointer in a following commit, because of_drm_find_and_get_bridge() would
get a reference to multiple bridges.
There seem to be no real reason for looking for multiple panels, so just
break as soon as a match is found.
Reviewed-by: Linus Walleij <linusw@kernel.org>
Link: https://patch.msgid.link/20260131-drm-bridge-alloc-getput-drm_of_find_bridge-4-v2-3-e081bcdc1467@bootlin.com
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions
