tegra: dc: Fix div by zero in frame time computation.
authorRaghavendra VK <rvk@nvidia.com>
Mon, 27 Aug 2012 18:00:12 +0000 (11:00 -0700)
committerMrutyunjay Sawant <msawant@nvidia.com>
Wed, 29 Aug 2012 14:14:34 +0000 (07:14 -0700)
commit604cda21d79ed168e9863f0122eb0c23fa1a901b
treefd099ec49479bdb79fc2216618dc74fbfcfc497f
parentfa3b35c8582837ba982d2fbc5194d4d8ad3d70f6
tegra: dc: Fix div by zero in frame time computation.

- Set frame duration to 0 in NULL modeset.

bug 1039104

Change-Id: I2b7d5a8a7c1748d8d582505946014e002326cbee
Signed-off-by: Raghavendra VK <rvk@nvidia.com>
Reviewed-on: http://git-master/r/127603
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Robert Morell <rmorell@nvidia.com>
Reviewed-by: Jon Mayo <jmayo@nvidia.com>
drivers/video/tegra/dc/dc.c
drivers/video/tegra/dc/mode.c