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 <chris@printf.net>
Mon, 13 Jan 2014 17:48:19 +0000 (12:48 -0500)
commita91fe279ae750d67d65039bb4ac2cc6ef51e7a2a
tree76f344ad9b8ec85de85c7e16fe4f1c2f44a6fcfd
parentc5f4bc841cd1c59d91258c1268e4cbb29f14ee6a
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