]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commit
OMAP:MMC: Fix slot id definition on hsmmc probe.
authorDavid Cohen <david.cohen@indt.org.br>
Thu, 31 Jan 2008 19:48:57 +0000 (15:48 -0400)
committerTony Lindgren <tony@atomide.com>
Tue, 5 Feb 2008 00:26:52 +0000 (16:26 -0800)
commit8fde87fc1f4ba8fb484f68f390bc5140f1cc564e
tree075e07352c4b0135dd77a6d8c1ca8ec41803288a
parentdbe205801822c93cf0c3be6016b254f280813c63
OMAP:MMC: Fix slot id definition on hsmmc probe.

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>
drivers/mmc/host/omap_hsmmc.c