drm/bridge: adv7511: clean up CEC adapter when probe fails
stable inclusion from stable-v5.10.121 commit 187ecfc3b70e2edbe39ef4cc24c5c592cb976dd2 category: bugfix bugzilla: https://gitee.com/openeuler/kernel/issues/I5L6CQ Reference: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=187ecfc3b70e2edbe39ef4cc24c5c592cb976dd2 -------------------------------- [ Upstream commit 7ed2b0da ] When the probe routine fails we also need to clean up the CEC adapter registered in adv7511_cec_init(). Fixes: 3b1b9750 ("drm: adv7511/33: add HDMI CEC support") Signed-off-by: NLucas Stach <l.stach@pengutronix.de> Reviewed-by: NRobert Foss <robert.foss@linaro.org> Signed-off-by: NRobert Foss <robert.foss@linaro.org> Link: https://patchwork.freedesktop.org/patch/msgid/20220321104705.2804423-1-l.stach@pengutronix.deSigned-off-by: NSasha Levin <sashal@kernel.org> Signed-off-by: NZheng Zengkai <zhengzengkai@huawei.com> Acked-by: NXie XiuQi <xiexiuqi@huawei.com>
Showing
想要评论请 注册 或 登录