Commit 38c83890 authored by Xin Ji's avatar Xin Ji Committed by Robert Foss

drm/bridge: anx7625: keep last configure timing

Sometimes kernel may resume back quickly after suspend,
and DRM not call .mode_set() to re-config
display timing before calling .atomic_enable(), bridge
driver with this patch to keep last configure timing.
Signed-off-by: default avatarXin Ji <xji@analogixsemi.com>
Acked-by: default avatarHsin-Yi Wang <hsinyi@chromium.org>
Signed-off-by: default avatarRobert Foss <robert.foss@linaro.org>
Link: https://patchwork.freedesktop.org/patch/msgid/20221209030418.713935-1-xji@analogixsemi.com
parent 0f654880
...@@ -1403,7 +1403,6 @@ static void anx7625_stop_dp_work(struct anx7625_data *ctx) ...@@ -1403,7 +1403,6 @@ static void anx7625_stop_dp_work(struct anx7625_data *ctx)
{ {
ctx->hpd_status = 0; ctx->hpd_status = 0;
ctx->hpd_high_cnt = 0; ctx->hpd_high_cnt = 0;
ctx->display_timing_valid = 0;
} }
static void anx7625_start_dp_work(struct anx7625_data *ctx) static void anx7625_start_dp_work(struct anx7625_data *ctx)
......
Markdown is supported
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