diff options
author | Ulf Hansson <ulf.hansson@linaro.org> | 2013-04-18 11:02:07 +0200 |
---|---|---|
committer | Chris Ball <cjb@laptop.org> | 2013-05-26 14:23:12 -0400 |
commit | b689167984bc14ed06c8bcff52ef5eb1fd9cf83b (patch) | |
tree | ced0bd9a9f01d0cd39f638af697160b4e4e42e88 /drivers/mmc/card | |
parent | 810e08ee425f8d7327e4b30069a9b2b3dccfc67d (diff) | |
download | linux-b689167984bc14ed06c8bcff52ef5eb1fd9cf83b.tar.bz2 |
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 <ulf.hansson@linaro.org>
Reviewed-by: Kevin Liu <kliu5@marvell.com>
Signed-off-by: Chris Ball <cjb@laptop.org>
Diffstat (limited to 'drivers/mmc/card')
0 files changed, 0 insertions, 0 deletions