diff options
Diffstat (limited to 'sound/atmel/abdac.c')
-rw-r--r-- | sound/atmel/abdac.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sound/atmel/abdac.c b/sound/atmel/abdac.c index eb4ceb71123e..277ebce23a45 100644 --- a/sound/atmel/abdac.c +++ b/sound/atmel/abdac.c | |||
@@ -452,6 +452,7 @@ static int __devinit atmel_abdac_probe(struct platform_device *pdev) | |||
452 | dac->regs = ioremap(regs->start, resource_size(regs)); | 452 | dac->regs = ioremap(regs->start, resource_size(regs)); |
453 | if (!dac->regs) { | 453 | if (!dac->regs) { |
454 | dev_dbg(&pdev->dev, "could not remap register memory\n"); | 454 | dev_dbg(&pdev->dev, "could not remap register memory\n"); |
455 | retval = -ENOMEM; | ||
455 | goto out_free_card; | 456 | goto out_free_card; |
456 | } | 457 | } |
457 | 458 | ||
@@ -534,7 +535,7 @@ out_put_pclk: | |||
534 | return retval; | 535 | return retval; |
535 | } | 536 | } |
536 | 537 | ||
537 | #ifdef CONFIG_PM | 538 | #ifdef CONFIG_PM_SLEEP |
538 | static int atmel_abdac_suspend(struct device *pdev) | 539 | static int atmel_abdac_suspend(struct device *pdev) |
539 | { | 540 | { |
540 | struct snd_card *card = dev_get_drvdata(pdev); | 541 | struct snd_card *card = dev_get_drvdata(pdev); |