drm/tegra: dsi - Add enable guard
authorThierry Reding <treding@nvidia.com>
Fri, 14 Mar 2014 13:15:10 +0000 (14:15 +0100)
committerThierry Reding <treding@nvidia.com>
Thu, 5 Jun 2014 21:09:30 +0000 (23:09 +0200)
commit334ae6b5271b7ba306b867d1d2b1b00e4afd6eb5
tree432c62d40d541023db09b100803f1f581724f358
parent17297a281368a60a12e18c325aae4fdc646ce756
drm/tegra: dsi - Add enable guard

To prevent the enable or disable operations to potentially be run
multiple times, add guards to return early when the output is already
in the targetted state.

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