]> git.baikalelectronics.ru Git - kernel.git/commit
drm/bridge: adv7511: clean up CEC adapter when probe fails
authorLucas Stach <l.stach@pengutronix.de>
Mon, 21 Mar 2022 10:47:05 +0000 (11:47 +0100)
committerRobert Foss <robert.foss@linaro.org>
Thu, 31 Mar 2022 12:09:03 +0000 (14:09 +0200)
commit03ce0a773365ccb1c90630dfa3725bf088db194e
tree073aa9c1561675dd072f218d0204be87c6adb77c
parentd207bdc5ac7b7212112d3733c242e68c5826530d
drm/bridge: adv7511: clean up CEC adapter when probe fails

When the probe routine fails we also need to clean up the
CEC adapter registered in adv7511_cec_init().

Fixes: 199dcaf6a9f0 ("drm: adv7511/33: add HDMI CEC support")
Signed-off-by: Lucas Stach <l.stach@pengutronix.de>
Reviewed-by: Robert Foss <robert.foss@linaro.org>
Signed-off-by: Robert Foss <robert.foss@linaro.org>
Link: https://patchwork.freedesktop.org/patch/msgid/20220321104705.2804423-1-l.stach@pengutronix.de
drivers/gpu/drm/bridge/adv7511/adv7511_drv.c