]> 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)
commit1c331d7e1075bba6bc077b0e5ca34417a5abd54d
tree780b8adf5d94c692c92ce0cf6f86e66400631b8b
parent6892f1912c73e0a3a36fd5a75977d99063455d79
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