Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 298811
b: refs/heads/master
c: fc307df
h: refs/heads/master
i:
  298809: 819710c
  298807: f60fa72
v: v3
  • Loading branch information
Balaji T K authored and Chris Ball committed Apr 6, 2012
1 parent 67dd625 commit 8ab2c15
Show file tree
Hide file tree
Showing 2 changed files with 2 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: b796450b4590dbaee2d31c85b04791cafacff9b4
refs/heads/master: fc307df88f0d77505c19756d95be66c981c421ea
4 changes: 1 addition & 3 deletions trunk/drivers/mmc/host/omap_hsmmc.c
Original file line number Diff line number Diff line change
Expand Up @@ -1818,8 +1818,6 @@ static int __devinit omap_hsmmc_probe(struct platform_device *pdev)
if (res == NULL || irq < 0)
return -ENXIO;

res->start += pdata->reg_offset;
res->end += pdata->reg_offset;
res = request_mem_region(res->start, resource_size(res), pdev->name);
if (res == NULL)
return -EBUSY;
Expand All @@ -1843,7 +1841,7 @@ static int __devinit omap_hsmmc_probe(struct platform_device *pdev)
host->dma_ch = -1;
host->irq = irq;
host->slot_id = 0;
host->mapbase = res->start;
host->mapbase = res->start + pdata->reg_offset;
host->base = ioremap(host->mapbase, SZ_4K);
host->power_mode = MMC_POWER_OFF;
host->next_data.cookie = 1;
Expand Down

0 comments on commit 8ab2c15

Please sign in to comment.