Files
linux/drivers/gpu/drm/sti
Peter Rosin 212348c8dc drm/sti: do not remove the drm_bridge that was never added
[ Upstream commit 66e31a72dc ]

Removing the drm_bridge_remove call should avoid a NULL dereference
during list processing in drm_bridge_remove if the error path is ever
taken.

The more natural approach would perhaps be to add a drm_bridge_add,
but there are several other bridges that never call drm_bridge_add.
Just removing the drm_bridge_remove is the easier fix.

Fixes: 84601dbdea ("drm: sti: rework init sequence")
Acked-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Signed-off-by: Peter Rosin <peda@axentia.se>
Signed-off-by: Benjamin Gaignard <benjamin.gaignard@linaro.org>
Link: https://patchwork.freedesktop.org/patch/msgid/20180806061910.29914-2-peda@axentia.se
Signed-off-by: Sasha Levin <sashal@kernel.org>
2023-05-15 16:42:33 +09:00
..
2014-07-30 18:11:53 +02:00
2016-06-27 10:18:25 +02:00
2016-09-20 11:32:05 +02:00
2015-08-03 14:26:05 +02:00
2016-06-21 21:32:52 +02:00
2016-09-20 11:32:04 +02:00
2015-08-03 14:26:05 +02:00
2014-12-11 14:00:13 +01:00
2016-09-20 11:32:06 +02:00
2016-09-20 11:32:06 +02:00
2016-09-20 11:32:04 +02:00