Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 271279
b: refs/heads/master
c: ec19b9e
h: refs/heads/master
i:
  271277: 2989876
  271275: 5bb25bb
  271271: f85e038
  271263: fdeb8e8
v: v3
  • Loading branch information
Damian Hobson-Garcia authored and Laurent Pinchart committed Aug 19, 2011
1 parent 64b7913 commit d615d30
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 176737782e8360f1e577264c7aaeb691a7cbbfdd
refs/heads/master: ec19b9e0fa808d82ad996d73358a5b06a565b78b
4 changes: 4 additions & 0 deletions trunk/drivers/video/sh_mobile_lcdcfb.c
Original file line number Diff line number Diff line change
Expand Up @@ -259,6 +259,8 @@ static void sh_mobile_lcdc_clk_on(struct sh_mobile_lcdc_priv *priv)
pm_runtime_get_sync(priv->dev);
if (priv->dot_clk)
clk_enable(priv->dot_clk);
if (priv->meram_dev && priv->meram_dev->pdev)
pm_runtime_get_sync(&priv->meram_dev->pdev->dev);
}
}

Expand All @@ -267,6 +269,8 @@ static void sh_mobile_lcdc_clk_off(struct sh_mobile_lcdc_priv *priv)
if (atomic_sub_return(1, &priv->hw_usecnt) == -1) {
if (priv->dot_clk)
clk_disable(priv->dot_clk);
if (priv->meram_dev && priv->meram_dev->pdev)
pm_runtime_put_sync(&priv->meram_dev->pdev->dev);
pm_runtime_put(priv->dev);
}
}
Expand Down

0 comments on commit d615d30

Please sign in to comment.