diff options
author | Shridhar Rasal <srasal@nvidia.com> | 2012-06-18 17:15:23 +0530 |
---|---|---|
committer | Manish Tuteja <mtuteja@nvidia.com> | 2012-06-18 11:38:14 -0700 |
commit | 917da13dfd1bab99b30b71540c793397cbddcf22 (patch) | |
tree | bd9648ed655a79e7ff05c918dc079e362efe4621 | |
parent | b96a17ea7e143a045d6ad0fbbc75368d90d4cc12 (diff) |
video: tegra: dc: Remove extra dc enable
commit 64655badec17cea1c3ad43a5fff4ed92ad862aed ( http://git-master/r/108724 )
added extra dc enable which increases ref count hence device fails to enter
into suspend. This change removes un-necessary code.
bug 1001244
Change-Id: Ib417ebbfadfb9ea8ee14d4c5163d97d580341769
Signed-off-by: Shridhar Rasal <srasal@nvidia.com>
Reviewed-on: http://git-master/r/109526
Reviewed-by: Shashank Sharma <shashanks@nvidia.com>
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Pritesh Raithatha <praithatha@nvidia.com>
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
Reviewed-by: Mayuresh Kulkarni <mkulkarni@nvidia.com>
GVS: Gerrit_Virtual_Submit
-rw-r--r-- | drivers/video/tegra/dc/dc.c | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/drivers/video/tegra/dc/dc.c b/drivers/video/tegra/dc/dc.c index 7df507ffad3b..67fb904bbedf 100644 --- a/drivers/video/tegra/dc/dc.c +++ b/drivers/video/tegra/dc/dc.c @@ -3024,14 +3024,6 @@ static int tegra_dc_probe(struct nvhost_device *ndev, goto err_put_emc_clk; } - /* hack to balance enable_irq calls in _tegra_dc_enable() */ - disable_dc_irq(dc->irq); - - mutex_lock(&dc->lock); - if (dc->enabled) - _tegra_dc_enable(dc); - mutex_unlock(&dc->lock); - tegra_dc_create_debugfs(dc); dev_info(&ndev->dev, "probed\n"); |