Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 271177
b: refs/heads/master
c: 1458d16
h: refs/heads/master
i:
  271175: b6417c5
v: v3
  • Loading branch information
Shubhrajyoti D authored and Grant Likely committed Oct 24, 2011
1 parent e4bd20f commit 23732c8
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 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: a853ba8d6d5d76bcbc5bf35b945b5727b5e5a36d
refs/heads/master: 1458d160de3f1862aeaac57447ba96e7857ac52b
7 changes: 4 additions & 3 deletions trunk/drivers/spi/spi-omap2-mcspi.c
Original file line number Diff line number Diff line change
Expand Up @@ -1116,15 +1116,16 @@ static int __init omap2_mcspi_probe(struct platform_device *pdev)
status = -ENODEV;
goto err1;
}

r->start += pdata->regs_offset;
r->end += pdata->regs_offset;
mcspi->phys = r->start;
if (!request_mem_region(r->start, resource_size(r),
dev_name(&pdev->dev))) {
status = -EBUSY;
goto err1;
}

r->start += pdata->regs_offset;
r->end += pdata->regs_offset;
mcspi->phys = r->start;
mcspi->base = ioremap(r->start, resource_size(r));
if (!mcspi->base) {
dev_dbg(&pdev->dev, "can't ioremap MCSPI\n");
Expand Down

0 comments on commit 23732c8

Please sign in to comment.