]> git.baikalelectronics.ru Git - kernel.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 <chris@printf.net>
Mon, 13 Jan 2014 17:48:19 +0000 (12:48 -0500)
commit9c9aeee3e495081f7221808ffbb841e7eb3044cf
tree76f344ad9b8ec85de85c7e16fe4f1c2f44a6fcfd
parent2229426be1c6f4b4b3c7cc5d693aa10ab825af33
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