]> git.baikalelectronics.ru Git - kernel.git/commit
drm/tegra: dsi: Properly cleanup on probe failure
authorThierry Reding <treding@nvidia.com>
Thu, 13 Nov 2014 13:58:27 +0000 (14:58 +0100)
committerThierry Reding <treding@nvidia.com>
Thu, 13 Nov 2014 15:12:18 +0000 (16:12 +0100)
commit0f65fada7700d509cac03c7218a65759a7452574
treeb617c1fcf428e89e84a985133ab29f4fccdcfcee
parent5fa3f678311edd375317ee3a13ae48f0865f0145
drm/tegra: dsi: Properly cleanup on probe failure

The driver wasn't even attempting to do any cleanup when probing failed.
Fix this by releasing any resources acquired up to the point of failure
and putting the device back into the original state (reset, clocks off).

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