video: tegra: dc: check DC suspend state
authorPankaj Dabade <pdabade@nvidia.com>
Fri, 14 Feb 2014 06:04:23 +0000 (11:04 +0530)
committerMatthew Pedro <mapedro@nvidia.com>
Fri, 21 Feb 2014 15:45:14 +0000 (07:45 -0800)
commitcaf5e6a459396aad35b1ef7a7e705a1679d09e4c
treebd897db715a7eac5ea113cdb0d67fd04772d6103
parentba385722757a8df4fc220b67ab40e1ac15fbc8e7
video: tegra: dc: check DC suspend state

Check DC suspended state before updating window.
DC suspend function will disable dc but will only change
suspend status to true, while the enable status will
remain true. DC will be enabled by dc resume function.

bug 1452204

Change-Id: I55d44c8e84fd7025459dca1f9cec5a462aa1c842
Signed-off-by: Pankaj Dabade <pdabade@nvidia.com>
Reviewed-on: http://git-master/r/363764
(cherry picked from commit 9bb217d8c2c7c55cc54c6a2281429ba169f7ddb6)
Reviewed-on: http://git-master/r/372681
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Venkat Moganty <vmoganty@nvidia.com>
Reviewed-by: Matthew Pedro <mapedro@nvidia.com>
drivers/video/tegra/fb.c