drm/tegra: Add guard to avoid double disable/enable of RGB outputs
authorDmitry Osipenko <digetx@gmail.com>
Tue, 11 Feb 2014 17:12:27 +0000 (21:12 +0400)
committerThierry Reding <treding@nvidia.com>
Wed, 12 Feb 2014 06:50:38 +0000 (07:50 +0100)
Add guard to check whether RGB output is already enabled in the way it's
done for HDMI output. Fixes possible hang on trying to disable output twice
(first time during driver probe and second on fb registering).

Signed-off-by: Dmitry Osipenko <digetx@gmail.com>
Signed-off-by: Thierry Reding <treding@nvidia.com>
drivers/gpu/drm/tegra/rgb.c

Simple merge