Skip to content
Unverified Commit 3203e497 authored by Pi-Hsun Shih's avatar Pi-Hsun Shih Committed by Robert Foss
Browse files

drm/bridge: anx7625: Synchronously run runtime suspend.



Originally when using pm_runtime_put, there's a chance that the runtime
suspend hook will be run after the following anx7625_bridge_mode_set
call, resulting in the display_timing_valid field to be cleared, and the
following power on fail.

Change all pm_runtime_put to pm_runtime_put_sync, so all power off
operations are guaranteed to be done after the call returns.

Fixes: 60487584 ("drm/bridge: anx7625: refactor power control to use runtime PM framework")
Signed-off-by: default avatarPi-Hsun Shih <pihsun@chromium.org>
Tested-by: default avatarTzung-Bi Shih <tzungbi@google.com>
Reviewed-by: default avatarRobert Foss <robert.foss@linaro.org>
Signed-off-by: default avatarRobert Foss <robert.foss@linaro.org>
Link: https://patchwork.freedesktop.org/patch/msgid/20210520064508.3121211-1-pihsun@chromium.org
parent 07775fc1
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