Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 187678
b: refs/heads/master
c: a0af8b3
h: refs/heads/master
v: v3
  • Loading branch information
Vasily Khoruzhick authored and Ben Dooks committed Feb 24, 2010
1 parent ffd9dff commit 1efb7f4
Show file tree
Hide file tree
Showing 2 changed files with 3 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: 0fe1309b4db2a994d0b8347cea034cf58cb4b312
refs/heads/master: a0af8b3c701d254b55fc291150d5320317c0a338
2 changes: 2 additions & 0 deletions trunk/arch/arm/plat-samsung/adc.c
Original file line number Diff line number Diff line change
Expand Up @@ -412,6 +412,7 @@ static int s3c_adc_suspend(struct platform_device *pdev, pm_message_t state)
con |= S3C2410_ADCCON_STDBM;
writel(con, adc->regs + S3C2410_ADCCON);

disable_irq(adc->irq);
clk_disable(adc->clk);

return 0;
Expand All @@ -422,6 +423,7 @@ static int s3c_adc_resume(struct platform_device *pdev)
struct adc_device *adc = platform_get_drvdata(pdev);

clk_enable(adc->clk);
enable_irq(adc->irq);

writel(adc->prescale | S3C2410_ADCCON_PRSCEN,
adc->regs + S3C2410_ADCCON);
Expand Down

0 comments on commit 1efb7f4

Please sign in to comment.