Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 251839
b: refs/heads/master
c: da9e739
h: refs/heads/master
i:
  251837: c69a4ba
  251835: 1e1bd43
  251831: 2f8e277
  251823: 5d72b7e
  251807: 036ffe8
  251775: bec92d8
v: v3
  • Loading branch information
Aaro Koskinen authored and Tony Lindgren committed May 3, 2011
1 parent 2eae996 commit 164d3b0
Show file tree
Hide file tree
Showing 2 changed files with 9 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: 0bf6e2eca2a32fc6ea69eb499313234476a526d7
refs/heads/master: da9e7392f4b0c295a47ec7def38629959eb51ff2
8 changes: 8 additions & 0 deletions trunk/arch/arm/mach-omap2/smartreflex.c
Original file line number Diff line number Diff line change
Expand Up @@ -847,6 +847,14 @@ static int __init omap_sr_probe(struct platform_device *pdev)
goto err_free_devinfo;
}

mem = request_mem_region(mem->start, resource_size(mem),
dev_name(&pdev->dev));
if (!mem) {
dev_err(&pdev->dev, "%s: no mem region\n", __func__);
ret = -EBUSY;
goto err_free_devinfo;
}

irq = platform_get_resource(pdev, IORESOURCE_IRQ, 0);

pm_runtime_enable(&pdev->dev);
Expand Down

0 comments on commit 164d3b0

Please sign in to comment.