]> git.karo-electronics.de Git - karo-tx-linux.git/commit
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>
Wed, 23 Apr 2014 10:35:34 +0000 (12:35 +0200)
commite1a8d040ddb5111dfe1f9fbae65dad5bef4a15cc
tree63d21428819906e8c04c97e8161ff95efddaaf29
parentb9c5023ab777404716c7a65477326239db6b54c0
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