]> git.karo-electronics.de Git - karo-tx-linux.git/commit
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)
commitb18915379071b31ea819a36ca67761620decba06
tree78e1cda52853460cbec67248092516f4dcc687cf
parent89e6e8c85f21555a763d0e47841b515ede6278d1
drm/tegra: Add guard to avoid double disable/enable of RGB outputs

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