video: tegra: dc: check DC suspend state
authorPankaj Dabade <pdabade@nvidia.com>
Fri, 14 Feb 2014 06:04:23 +0000 (11:04 +0530)
committerPankaj Dabade <pdabade@nvidia.com>
Fri, 21 Feb 2014 04:36:04 +0000 (20:36 -0800)
commit9bb217d8c2c7c55cc54c6a2281429ba169f7ddb6
tree80d10668f0ef4db4d5454cbe12f09f888efcd3b4
parentb343b23f413678579d49daf1dcef0d8b8677a5f1
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
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Jon Mayo <jmayo@nvidia.com>
drivers/video/tegra/fb.c