Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 330887
b: refs/heads/master
c: 00d98c1
h: refs/heads/master
i:
  330885: d8a3255
  330883: 49661a8
  330879: 8203901
v: v3
  • Loading branch information
Sachin Kamat authored and Mauro Carvalho Chehab committed Aug 15, 2012
1 parent 8d71ef2 commit ebe30be
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 8 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: d1bb4b29a74ea81b8282011479bc36417620b5fa
refs/heads/master: 00d98c1bd6fe93de6db6a99ed25b4b7d96a402ec
10 changes: 3 additions & 7 deletions trunk/drivers/media/platform/s5p-tv/sdo_drv.c
Original file line number Diff line number Diff line change
Expand Up @@ -374,15 +374,15 @@ static int __devinit sdo_probe(struct platform_device *pdev)
dev_info(dev, "fout_vpll.rate = %lu\n", clk_get_rate(sclk_vpll));

/* acquire regulator */
sdev->vdac = regulator_get(dev, "vdd33a_dac");
sdev->vdac = devm_regulator_get(dev, "vdd33a_dac");
if (IS_ERR_OR_NULL(sdev->vdac)) {
dev_err(dev, "failed to get regulator 'vdac'\n");
goto fail_fout_vpll;
}
sdev->vdet = regulator_get(dev, "vdet");
sdev->vdet = devm_regulator_get(dev, "vdet");
if (IS_ERR_OR_NULL(sdev->vdet)) {
dev_err(dev, "failed to get regulator 'vdet'\n");
goto fail_vdac;
goto fail_fout_vpll;
}

/* enable gate for dac clock, because mixer uses it */
Expand All @@ -406,8 +406,6 @@ static int __devinit sdo_probe(struct platform_device *pdev)
dev_info(dev, "probe succeeded\n");
return 0;

fail_vdac:
regulator_put(sdev->vdac);
fail_fout_vpll:
clk_put(sdev->fout_vpll);
fail_dacphy:
Expand All @@ -428,8 +426,6 @@ static int __devexit sdo_remove(struct platform_device *pdev)

pm_runtime_disable(&pdev->dev);
clk_disable(sdev->dac);
regulator_put(sdev->vdet);
regulator_put(sdev->vdac);
clk_put(sdev->fout_vpll);
clk_put(sdev->dacphy);
clk_put(sdev->dac);
Expand Down

0 comments on commit ebe30be

Please sign in to comment.