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)
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

Simple merge