drm/bridge: parade-ps8640: Make sure we drop the AUX mutex in the error case
authorDouglas Anderson <dianders@chromium.org>
Wed, 17 Jan 2024 18:35:03 +0000 (10:35 -0800)
committerDouglas Anderson <dianders@chromium.org>
Wed, 17 Jan 2024 20:08:02 +0000 (12:08 -0800)
commita20f1b02bafcbf5a32d96a1d4185d6981cf7d016
tree612a165358a4e4a9c6e2fd03c0d31e86267c839c
parent26db46bc9c675e43230cc6accd110110a7654299
drm/bridge: parade-ps8640: Make sure we drop the AUX mutex in the error case

After commit 26db46bc9c67 ("drm/bridge: parade-ps8640: Ensure bridge
is suspended in .post_disable()"), if we hit the error case in
ps8640_aux_transfer() then we return without dropping the mutex. Fix
this oversight.

Fixes: 26db46bc9c67 ("drm/bridge: parade-ps8640: Ensure bridge is suspended in .post_disable()")
Reviewed-by: Hsin-Yi Wang <hsinyi@chromium.org>
Signed-off-by: Douglas Anderson <dianders@chromium.org>
Link: https://patchwork.freedesktop.org/patch/msgid/20240117103502.1.Ib726a0184913925efc7e99c4d4fc801982e1bc24@changeid
drivers/gpu/drm/bridge/parade-ps8640.c