]> git.baikalelectronics.ru Git - kernel.git/commit
drm/tegra: sor: Implement system suspend/resume
authorThierry Reding <treding@nvidia.com>
Tue, 3 Dec 2019 16:19:10 +0000 (17:19 +0100)
committerThierry Reding <treding@nvidia.com>
Wed, 4 Dec 2019 12:37:10 +0000 (13:37 +0100)
commitbe3d301716814ec861fd549e00aef3c67b171237
tree780b8adf5d94c692c92ce0cf6f86e66400631b8b
parent638eded1507bf14a72b1b97e87819866a8460aa4
drm/tegra: sor: Implement system suspend/resume

Upon system suspend, make sure the +5V HDMI regulator is disabled. This
avoids potentially leaking current to the HDMI connector. This also
makes sure that upon resume the regulator is enabled again, which in
some cases is necessary to properly restore the state of the supply on
resume.

Reviewed-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Signed-off-by: Thierry Reding <treding@nvidia.com>
drivers/gpu/drm/tegra/sor.c