Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 311940
b: refs/heads/master
c: ebc35c7
h: refs/heads/master
v: v3
  • Loading branch information
Marek Szyprowski authored and Kukjin Kim committed Jul 12, 2012
1 parent 18179e2 commit 7cbe9dd
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 76eb5567afd18aa0a61fd31cd80fb80b616aaba4
refs/heads/master: ebc35c726298ba3fdebba316a592735268a520bc
4 changes: 3 additions & 1 deletion trunk/arch/arm/mach-exynos/pm_domains.c
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,9 @@ static __init void exynos_pm_add_dev_to_genpd(struct platform_device *pdev,
struct exynos_pm_domain *pd)
{
if (pdev->dev.bus) {
if (pm_genpd_add_device(&pd->pd, &pdev->dev))
if (!pm_genpd_add_device(&pd->pd, &pdev->dev))
pm_genpd_dev_need_restore(&pdev->dev, true);
else
pr_info("%s: error in adding %s device to %s power"
"domain\n", __func__, dev_name(&pdev->dev),
pd->name);
Expand Down

0 comments on commit 7cbe9dd

Please sign in to comment.