From: Seungwon Jeon Date: Tue, 22 Jan 2013 10:48:03 +0000 (+0900) Subject: mmc: core: fix permanent sleep of mmcqd during card removal X-Git-Tag: v3.9-rc1~78^2~23 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9b844961c265a8ee4bdacd8404d078d7f1319957;p=pandora-kernel.git mmc: core: fix permanent sleep of mmcqd during card removal This patch is derived from: "mmc: fix async request mechanism for sequential read scenarios". According as async transfer, a request is handled with twice mmc_start_req. When the card is removed, the request is actually not issued in the first mmc_start_req [__mmc_start_data_req]. And then mmc_wait_for_data_req_done will come in the next mmc_start_req. But there is no event for completions. wake_up_interruptible is needed in __mmc_start_data_req for the case of removed card. Signed-off-by: Seungwon Jeon Acked-by: Jaehoon Chung Tested-by: Konstantin Dorfman Signed-off-by: Chris Ball --- Reading git-diff-tree failed