drm/bridge: anx7625: add suspend / resume hooks
authorPi-Hsun Shih <pihsun@chromium.org>
Mon, 17 May 2021 06:35:29 +0000 (14:35 +0800)
committerRobert Foss <robert.foss@linaro.org>
Tue, 18 May 2021 12:51:15 +0000 (14:51 +0200)
commit409776fa3c42af4b008b491409fd26cd32cb3466
tree82a1edfa367eee6ca71c113eb42ad75f8b29ed84
parent60487584a79abd763570b54d59e6aad586d64c7b
drm/bridge: anx7625: add suspend / resume hooks

Add suspend / resume hooks for anx7625 driver, that power off the device
on suspend and power on the device on resume if it was previously
powered.

Signed-off-by: Pi-Hsun Shih <pihsun@chromium.org>
Reviewed-by: Tzung-Bi Shih <tzungbi@google.com>
Signed-off-by: Robert Foss <robert.foss@linaro.org>
Link: https://patchwork.freedesktop.org/patch/msgid/20210517063553.554955-2-pihsun@chromium.org
drivers/gpu/drm/bridge/analogix/anx7625.c