mmci-omap does not detect a card

2009-11-01 Thread Ladislav . Michl
Last time I used MMC card with linux-2.6.15-omap2 and it worked pretty well on my custom OMAP5910 based board. Current git nor linux-2.6.22-omap1 (currently used for production) doesn't work at all. Inserting module ends this way: # modprobe omap mmci-omap mmci-omap.0: command timeout (CMD5) mmci-

[PATCH] mmci-omap: remove bogus check for host->iclk

2009-11-01 Thread Ladislav . Michl
Remove check for host->iclk being NULL from error path since we already know it is non-null and use return value from clk_get. Signed-off-by: Ladislav Michl Acked-by: Tony Lindgren diff --git a/drivers/mmc/host/omap.c b/drivers/mmc/host/omap.c index 5d773b8..c6d7e8e 100644 --- a/drivers/mmc/hos

[PATCH] mmci-omap: free irq resource

2009-11-01 Thread Ladislav . Michl
Free IRQ on remove. Signed-off-by: Ladislav Michl Acked-by: Tony Lindgren diff --git a/drivers/mmc/host/omap.c b/drivers/mmc/host/omap.c index 5d773b8..5f970e2 100644 --- a/drivers/mmc/host/omap.c +++ b/drivers/mmc/host/omap.c @@ -1529,6 +1529,7 @@ static int mmc_omap_remove(struct platform_dev

[PATCH] mmci-omap: free irq resource

2009-11-01 Thread Ladislav . Michl
Free IRQ on remove. Signed-off-by: Ladislav Michl diff --git a/drivers/mmc/host/omap.c b/drivers/mmc/host/omap.c index 5d773b8..5f970e2 100644 --- a/drivers/mmc/host/omap.c +++ b/drivers/mmc/host/omap.c @@ -1529,6 +1529,7 @@ static int mmc_omap_remove(struct platform_device *pdev)