From: Ulf Hansson Date: Thu, 18 Apr 2013 09:02:07 +0000 (+0200) Subject: mmc: core: Re-use code for MMC_CAP2_DETECT_ON_ERR in polling mode X-Git-Tag: v3.11-rc1~50^2~85 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b689167984bc14ed06c8bcff52ef5eb1fd9cf83b;p=pandora-kernel.git mmc: core: Re-use code for MMC_CAP2_DETECT_ON_ERR in polling mode Previously the MMC_CAP2_DETECT_ON_ERR was invented for detecting slow card removal. In was never a realy good solution and a proper fix has been merged using gpio debouncing instead. We remove this cap in this patch. Although when using polling card detect mode, the code invented for MMC_CAP2_DETECT_ON_ERR is re-used to complete card removal in an earlier phase. There are no need waiting for the polling timeout to elapse in this case. Signed-off-by: Ulf Hansson Reviewed-by: Kevin Liu Signed-off-by: Chris Ball --- Reading git-diff-tree failed