]> git.baikalelectronics.ru Git - kernel.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>
Thu, 5 Jun 2014 21:09:30 +0000 (23:09 +0200)
commit7a54e0ebfc6f5ae59316ba8805dd63f3f6cdb6f2
tree432c62d40d541023db09b100803f1f581724f358
parentfd45a54c29b173434f767b62a865798525980194
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