mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-10 04:48:04 +09:00
modify a small flaw in calling iomap function
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user