]> git.baikalelectronics.ru Git - kernel.git/commit
drm/bridge/analogix/anx6345: Cleanup on errors in anx6345_bridge_attach()
authorLyude Paul <lyude@redhat.com>
Fri, 19 Feb 2021 21:53:08 +0000 (16:53 -0500)
committerLyude Paul <lyude@redhat.com>
Tue, 23 Mar 2021 18:19:33 +0000 (14:19 -0400)
commit633f211c0ebc16ca8b80766abede3b66c56aa9c0
treec1976fbb7da8c0a325da4982f4640ea9d1a39281
parentf64af9648268ac510e76def12a695358474cf39a
drm/bridge/analogix/anx6345: Cleanup on errors in anx6345_bridge_attach()

Another drive-by fix I found when fixing DP AUX adapter across the kernel
tree - make sure we don't leak resources (and by proxy-AUX adapters) on
failures in anx6345_bridge_attach() by unrolling on errors.

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-13-lyude@redhat.com
drivers/gpu/drm/bridge/analogix/analogix-anx6345.c