]> git.karo-electronics.de Git - karo-tx-linux.git/commit
mmc: mxs: use standard flag for broken card detection
authorSascha Hauer <s.hauer@pengutronix.de>
Thu, 5 Dec 2013 13:34:48 +0000 (14:34 +0100)
committerChris Ball <cjb@laptop.org>
Thu, 12 Dec 2013 01:38:34 +0000 (20:38 -0500)
commitea03c5273fefe6b19cc28e7b8664221a3998ac4f
tree48229d265b2e4279a43c24f9f4af0a4e8bb4b15c
parent36dab851f86d6d0d4e673d7de9eb1b9d2b40db41
mmc: mxs: use standard flag for broken card detection

Use the standard MMC_CAP_NEEDS_POLL flag rather than a custom broken_cd
flag. The original code used to just return true in the card detection
function for broken card detection. The MMC_CAP_NEEDS_POLL works different,
but was introduced for the same purpose, so assume the code works correct
now.

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Signed-off-by: Chris Ball <cjb@laptop.org>
drivers/mmc/host/mxs-mmc.c