drm/tegra: sor: Make the +5V HDMI supply optional
authorThierry Reding <treding@nvidia.com>
Tue, 3 Dec 2019 16:19:13 +0000 (17:19 +0100)
committerThierry Reding <treding@nvidia.com>
Wed, 4 Dec 2019 12:38:01 +0000 (13:38 +0100)
commitb06e145f7030bea2f307d3dc68a6b9aaf2dd905c
tree17da945a5599e3f2c27c36298645f26d75d91e72
parenta8817489dc3e3b1910842958a3b9d9e4832e99b0
drm/tegra: sor: Make the +5V HDMI supply optional

The SOR supports multiple display modes, but only when driving an HDMI
monitor does it make sense to control the +5V power supply. eDP and DP
don't need this, so make it optional.

This fixes a crash observed during system suspend/resume.

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