]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit22cc44f5d66f228c3540d064e1223db52f639a7b
tree71bf25f9a8de820c4d4602af8231479d75ada3ae
parentf1b1eb53cc1390e6a8931ec639a6200f24938022
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