From: Juha Yrjola Date: Thu, 11 Aug 2005 14:00:01 +0000 (-0700) Subject: [PATCH] ARM: OMAP: MMC timer fixes X-Git-Tag: v2.6.13-omap1~28^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=080a7d29c16d1189a018ac953f715f7b745fcefd;p=pandora-kernel.git [PATCH] ARM: OMAP: MMC timer fixes MMC timer fixes --- diff --git a/drivers/mmc/mmc_block.c b/drivers/mmc/mmc_block.c index b6f5eb17d366..808f9132011d 100644 --- a/drivers/mmc/mmc_block.c +++ b/drivers/mmc/mmc_block.c @@ -31,6 +31,7 @@ #include #include +#include #include #include @@ -359,6 +360,9 @@ static int mmc_blk_issue_rq(struct mmc_queue *mq, struct request *req) end_that_request_last(req); spin_unlock_irq(&md->lock); + /* If a command fails, the card might be removed. */ + mmc_detect_change(card->host); + return 0; } Reading git-diff-tree failed