drm/tegra: dpaux: Fix crash if VDD supply is absent
authorThierry Reding <treding@nvidia.com>
Mon, 24 Jun 2019 11:30:24 +0000 (13:30 +0200)
committerThierry Reding <treding@nvidia.com>
Mon, 28 Oct 2019 10:18:43 +0000 (11:18 +0100)
commit6c79f09fce4dd03f6b623b1d49e1b8a968822f60
tree71bf25f9a8de820c4d4602af8231479d75ada3ae
parent245ce70cd466d2e003861788d13726417557eb39
drm/tegra: dpaux: Fix crash if VDD supply is absent

In order to properly make the VDD supply optional, all accesses to the
regulator need to be ignored, because the regulator core doesn't treat
NULL special.

Signed-off-by: Thierry Reding <treding@nvidia.com>
drivers/gpu/drm/tegra/dpaux.c