video: tegra: dc: log suspend enter time
Andy Park [Fri, 10 May 2013 23:59:35 +0000 (16:59 -0700)]
log suspend enter time using uS timer

Bug 1279339
Bug 1252226

Change-Id: I7e29d177df78a286d3e3ee905b020f95575175ac
Signed-off-by: Andy Park <andyp@nvidia.com>
(cherry picked from commit 832517518d82fa2bce7c3b85cdd2c56e0b87704a)
Reviewed-on: http://git-master/r/228138
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Kamal Balagopalan <kbalagopalan@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-by: Venkata (Muni) Anda <vanda@nvidia.com>

drivers/video/tegra/dc/dc.c

index f05386d..ccb8412 100644 (file)
@@ -2390,6 +2390,8 @@ static void _tegra_dc_disable(struct tegra_dc *dc)
         * is enabled.
         */
        dc->out->flags &= ~TEGRA_DC_OUT_INITIALIZED_MODE;
+
+       tegra_log_suspend_time();
 }
 
 void tegra_dc_disable(struct tegra_dc *dc)