drm/bridge: adv7533: Switch to devm MIPI-DSI helpers
[ Upstream commit ee941880 ] Let's switch to the new devm MIPI-DSI function to register and attach our secondary device. This also avoids leaking the device when we detach the bridge. Acked-by:Sam Ravnborg <sam@ravnborg.org> Tested-by:
John Stultz <john.stultz@linaro.org> Signed-off-by:
Maxime Ripard <maxime@cerno.tech> Link: https://patchwork.freedesktop.org/patch/msgid/20211025151536.1048186-2-maxime@cerno.tech Stable-dep-of: 81adbd3f ("drm: adv7511: Fix use-after-free in adv7533_attach_dsi()") Signed-off-by:
Sasha Levin <sashal@kernel.org>
Loading