Files
linux/drivers/gpu/drm
Dan Carpenter 337ed732b3 drm: bridge: it66121: fix a resource leak in probe
In the original code if the "ctx = devm_kzalloc()" allocation failed
then we should have called of_node_put(ep); before returning.  It's
actually a bit easier to do the allocation first before assigning
ep = of_graph_get_endpoint_by_regs().

Fixes: 988156dc2f ("drm: bridge: add it66121 driver")
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Acked-by: Neil Armstrong <narmstrong@baylibre.com>
Signed-off-by: Neil Armstrong <narmstrong@baylibre.com>
Link: https://patchwork.freedesktop.org/patch/msgid/YJ+ZgXTFa6voZuJG@mwanda
2021-05-18 13:16:37 +02:00
..
2021-05-06 11:43:46 +02:00
2021-04-13 23:15:09 +02:00
2021-04-27 13:13:19 +02:00
2021-05-17 21:19:00 +02:00
2021-04-26 14:03:09 +02:00
2021-05-12 11:31:28 +02:00
2021-05-11 15:59:18 +02:00
2021-04-13 23:15:09 +02:00
2021-05-12 12:37:47 +02:00
2021-04-13 23:15:09 +02:00
2021-05-04 16:10:10 +02:00
2021-04-29 18:53:05 -03:00
2021-04-13 23:15:09 +02:00
2021-05-10 15:46:54 +02:00
2021-01-04 12:59:33 +01:00
2021-05-17 21:19:48 +02:00
2021-03-18 14:22:50 +01:00