Skip to content
Commit 52044fb2 authored by Pin-yen Lin's avatar Pin-yen Lin Committed by Greg Kroah-Hartman
Browse files

drm/bridge: parade-ps8640: Ensure bridge is suspended in .post_disable()



[ Upstream commit 26db46bc ]

The ps8640 bridge seems to expect everything to be power cycled at the
disable process, but sometimes ps8640_aux_transfer() holds the runtime
PM reference and prevents the bridge from suspend.

Prevent that by introducing a mutex lock between ps8640_aux_transfer()
and .post_disable() to make sure the bridge is really powered off.

Fixes: 826cff3f ("drm/bridge: parade-ps8640: Enable runtime power management")
Signed-off-by: default avatarPin-yen Lin <treapking@chromium.org>
Reviewed-by: default avatarDouglas Anderson <dianders@chromium.org>
Signed-off-by: default avatarDouglas Anderson <dianders@chromium.org>
Link: https://patchwork.freedesktop.org/patch/msgid/20240109120528.1292601-1-treapking@chromium.org


Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
parent 4f59acbe
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment