drm/bridge/analogix/dp_core: Unregister DP AUX channel on error in analogix_dp_probe()
authorLyude Paul <lyude@redhat.com>
Fri, 19 Feb 2021 21:53:09 +0000 (16:53 -0500)
committerLyude Paul <lyude@redhat.com>
Tue, 23 Mar 2021 18:19:45 +0000 (14:19 -0400)
commitb3bdf89c026021194b1c09e772e6ac3d043409e5
treea2f74018c5230d62f32c36c6b293c8b90a8e1dbe
parentc42712c6e9bea042ea9696713024af7417f5ce18
drm/bridge/analogix/dp_core: Unregister DP AUX channel on error in analogix_dp_probe()

Just another drive-by fix I noticed while going through the tree to cleanup
DP aux adapter registration - make sure we unregister the DP AUX dev if
analogix_dp_probe() fails.

Signed-off-by: Lyude Paul <lyude@redhat.com>
Reviewed-by: Robert Foss <robert.foss@linaro.org>
Link: https://patchwork.freedesktop.org/patch/msgid/20210219215326.2227596-14-lyude@redhat.com
drivers/gpu/drm/bridge/analogix/analogix_dp_core.c