host->slot_id = (pdev->id - 1) definition is wrong. For each hsmmc host controller's
instance, the first slot always has id=0.
Signed-off-by: David Cohen <david.cohen@indt.org.br>
Acked-by: Carlos Eduardo Aguiar <carlos.aguiar@indt.org.br>
Signed-off-by: Tony Lindgren <tony@atomide.com>
host->dma_ch = -1;
host->irq = irq;
host->id = pdev->id;
- host->slot_id = pdev->id - 1;
+ host->slot_id = 0;
host->mapbase = res->start;
host->base = ioremap(host->mapbase, SZ_4K);
mmc->ops = &mmc_omap_ops;