projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
10e078a
)
modify a small flaw in calling iomap function
author
xbw
<xbw@rock-chips.com>
Tue, 9 Aug 2011 06:50:12 +0000
(14:50 +0800)
committer
xbw
<xbw@rock-chips.com>
Tue, 9 Aug 2011 06:50:12 +0000
(14:50 +0800)
drivers/mmc/host/rk29_sdmmc.c
patch
|
blob
|
history
diff --git
a/drivers/mmc/host/rk29_sdmmc.c
b/drivers/mmc/host/rk29_sdmmc.c
index a4635fd95afaf2b11ac6ca7da80d2f1a4a10e203..1c70acd04d9a878f584eb5a02176ec2c691cdb5c 100755
(executable)
--- a/
drivers/mmc/host/rk29_sdmmc.c
+++ b/
drivers/mmc/host/rk29_sdmmc.c
@@
-2785,7
+2785,7
@@
static int rk29_sdmmc_probe(struct platform_device *pdev)
clk_enable(clk_get(&pdev->dev, "hclk_mmc"));
ret = -ENOMEM;
- host->regs = ioremap(regs->start, regs->end - regs->start);
+ host->regs = ioremap(regs->start, regs->end - regs->start
+ 1
);
if (!host->regs)
{
host->errorstep = 0x8A;