Luca Ceresoli
0a7f39ba3f
drm/omap: dss: convert to of_drm_find_and_get_bridge()
...
of_drm_find_bridge() is deprecated. Move to its replacement
of_drm_find_and_get_bridge() which gets a bridge reference, and ensure it
is put when done.
omapdss_device_init_output() can take one bridge pointer in out->bridge or
two pointers in out->bridge and out->next_bridge. Ensure each has a
corresponding drm_bridge_get() and add drm_bridge_put() calls in the
cleanup code.
Also slightly change the initial code assigning out->panel and out->bridge
to ensure and clarify that either out->panel or out->bridge is set in the
function prologue, not both. If both were set, the 'if (out->panel){...}'
code that follows would overwrite out->bridge without having put the
reference.
Finally, take a reference in case a panel_bridge is added using
drm_panel_bridge_add(). This ensures we always need to put a reference,
which came either from of_drm_find_and_get_bridge() or by the
drm_panel_bridge_add+drm_bridge_get() branch.
Reviewed-by: Louis Chauvet <louis.chauvet@bootlin.com >
Reviewed-by: Linus Walleij <linusw@kernel.org >
Link: https://patch.msgid.link/20260402-drm-bridge-alloc-getput-drm_of_find_bridge-4-v4-4-421781c8c061@bootlin.com
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com >
2026-04-09 14:38:08 +02:00
..
2026-04-08 10:09:43 +02:00
2026-02-21 17:09:51 -08:00
2026-04-05 14:43:47 -07:00
2026-02-21 17:09:51 -08:00
2026-03-31 14:58:56 +02:00
2026-03-20 09:59:30 +01:00
2026-02-22 08:26:33 -08:00
2026-03-27 09:54:31 +01:00
2026-04-08 06:52:47 +10:00
2026-02-21 17:09:51 -08:00
2026-03-21 17:36:33 -07:00
2026-04-01 16:45:47 -04:00
2026-03-17 20:30:57 +01:00
2026-02-06 19:54:40 +00:00
2026-02-21 17:09:51 -08:00
2026-02-21 17:09:51 -08:00
2026-02-26 14:34:21 -08:00
2026-03-17 20:30:57 +01:00
2026-02-22 08:26:33 -08:00
2026-04-02 14:40:27 +02:00
2026-02-21 20:03:00 -08:00
2026-03-22 15:59:22 +09:00
2026-04-01 16:08:15 +02:00
2026-03-10 16:03:02 +01:00
2026-04-02 17:29:48 -07:00
2026-03-19 15:12:40 -07:00
2026-02-21 17:09:51 -08:00
2026-02-21 01:02:28 -08:00
2026-02-21 20:03:00 -08:00
2026-02-21 17:09:51 -08:00
2026-02-21 17:09:51 -08:00
2026-03-17 16:33:32 +05:30
2026-03-31 18:57:15 -07:00
2026-02-26 08:00:13 -08:00
2026-02-22 08:26:33 -08:00
2026-02-21 17:09:51 -08:00
2026-02-22 08:26:33 -08:00
2026-03-16 19:29:45 -07:00
2026-03-31 07:51:02 +10:00
2026-02-21 20:03:00 -08:00
2026-02-21 17:09:51 -08:00
2026-02-21 17:09:51 -08:00
2026-02-21 17:09:51 -08:00
2026-04-02 14:30:40 +02:00
2026-03-30 09:51:15 +02:00
2026-04-09 14:38:08 +02:00
2026-02-21 20:03:00 -08:00
2026-03-17 13:55:51 -07:00
2026-02-21 17:09:51 -08:00
2026-02-21 17:09:51 -08:00
2026-03-18 16:18:49 +00:00
2026-04-01 07:45:57 -07:00
2026-02-10 20:45:30 -08:00
2026-02-21 20:03:00 -08:00
2026-03-27 13:51:21 +01:00
2026-03-11 22:50:29 +01:00
2026-01-07 21:17:43 +01:00
2026-03-29 15:27:12 +02:00
2026-03-31 07:51:02 +10:00
2026-04-04 08:24:32 -07:00
2026-03-14 12:53:13 +02:00
2026-04-07 12:36:31 +02:00
2026-02-21 20:03:00 -08:00
2026-03-31 10:11:29 +02:00
2026-02-21 20:03:00 -08:00
2026-02-21 17:09:51 -08:00
2026-02-21 20:03:00 -08:00
2026-02-21 01:02:28 -08:00
2026-02-21 17:09:51 -08:00
2026-02-22 08:26:33 -08:00
2026-03-26 13:14:07 +01:00
2026-02-21 17:09:51 -08:00
2026-02-22 08:26:33 -08:00
2026-02-22 08:26:33 -08:00
2026-02-21 20:03:00 -08:00
2026-04-02 14:42:19 +02:00
2026-03-16 16:08:54 +01:00
2026-02-21 17:09:51 -08:00
2026-03-18 18:08:25 +01:00
2026-02-21 17:09:51 -08:00
2026-04-02 08:38:34 -07:00
2026-03-31 11:04:30 +02:00
2026-02-21 11:02:58 -08:00
2026-02-21 17:09:51 -08:00
2026-03-09 09:38:22 -05:00
2026-03-13 10:13:06 -07:00
2026-04-02 16:44:40 +02:00
2026-02-21 17:09:51 -08:00
2026-02-21 20:03:00 -08:00
2026-02-22 08:26:33 -08:00
2026-02-21 17:09:51 -08:00
2026-03-23 15:57:43 -05:00
2026-02-21 17:09:51 -08:00
2026-02-21 17:09:51 -08:00
2026-02-21 20:03:00 -08:00
2026-02-27 20:46:57 +05:30
2026-03-23 14:23:09 +01:00
2026-03-24 12:31:10 +02:00
2026-03-20 09:46:15 -07:00
2026-02-21 17:09:51 -08:00
2026-03-04 09:16:41 +01:00
2026-02-22 08:26:33 -08:00
2026-02-21 17:09:51 -08:00
2026-02-21 17:09:51 -08:00
2026-02-21 17:09:51 -08:00
2026-02-21 17:09:51 -08:00
2026-02-21 17:09:51 -08:00
2026-02-21 17:09:51 -08:00
2026-03-10 14:52:42 +00:00
2026-03-05 10:18:23 -07:00
2026-03-13 14:17:30 +00:00
2026-02-23 17:03:28 +01:00
2026-02-21 17:09:51 -08:00
2026-02-22 09:43:11 -08:00
2026-04-03 17:50:24 -07:00
2026-02-21 17:09:51 -08:00
2026-03-27 19:58:22 -07:00
2026-02-21 17:09:51 -08:00
2026-02-21 17:09:51 -08:00
2026-03-17 20:30:57 +01:00
2026-03-17 09:35:40 +01:00
2026-02-22 08:26:33 -08:00
2026-03-30 21:34:53 +01:00
2026-02-21 17:09:51 -08:00
2026-02-21 17:09:51 -08:00
2026-02-24 10:01:20 -08:00
2026-03-19 22:07:39 -04:00
2026-02-21 17:09:51 -08:00
2026-03-03 09:03:04 +01:00
2026-04-02 11:37:35 +02:00
2026-03-09 12:36:54 +01:00
2026-03-30 17:39:44 +02:00
2026-03-07 11:08:39 -05:00
2026-02-21 17:09:51 -08:00
2026-04-02 13:28:22 +02:00
2026-02-22 08:26:33 -08:00
2026-03-31 07:51:02 +10:00
2026-02-22 08:26:33 -08:00
2026-03-11 11:18:31 +01:00
2026-03-20 21:05:50 -07:00
2026-03-20 11:33:24 +01:00
2026-02-21 17:09:51 -08:00
2026-02-21 17:09:51 -08:00
2026-03-26 08:57:51 +01:00
2026-02-21 17:09:51 -08:00
2025-12-06 18:52:00 -08:00
2026-02-04 20:45:26 +05:30