drm/bridge: anx7625: Add wait_hpd_asserted() callback
authorHsin-Yi Wang <hsinyi@chromium.org>
Wed, 6 Jul 2022 12:52:54 +0000 (20:52 +0800)
committerRobert Foss <robert.foss@linaro.org>
Wed, 6 Jul 2022 13:19:55 +0000 (15:19 +0200)
commita57e7345cac12ccdf883f9825523470850166635
treeb18e5a176adde00a2150c8f841f72f29581fd70b
parentdfb02eb6bdf84697dbadd69a7df12db612ce4ed0
drm/bridge: anx7625: Add wait_hpd_asserted() callback

Move hpd polling check into wait_hpd_asserted() callback. For the cases
that aux transfer function wasn't used, do hpd polling check after pm
runtime resume, which will power on the bridge.

Signed-off-by: Hsin-Yi Wang <hsinyi@chromium.org>
Reviewed-by: Xin Ji <xji@analogixsemi.com>
Signed-off-by: Robert Foss <robert.foss@linaro.org>
Link: https://patchwork.freedesktop.org/patch/msgid/20220706125254.2474095-5-hsinyi@chromium.org
drivers/gpu/drm/bridge/analogix/anx7625.c