]> git.baikalelectronics.ru Git - kernel.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)
commit07e7d23cf49ecd397be995d846347a6f90b9e546
tree78e1cda52853460cbec67248092516f4dcc687cf
parent1d1d653af6f4f88efabd9545f07fcaa05b434f61
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