linux-hardened/include/linux/mmc
Russell King - ARM Linux 0a2d4048a2 mmc: block: allow get_card_status() to return error status
If the MMC_SEND_STATUS command is not successful, we should not return
a zero status word, but instead allow the caller to know positively
that an error occurred.

Convert the open-coded get_card_status() to use the helper function,
and provide definitions for the card state field.

Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Acked-by: Linus Walleij <linus.walleij@linaro.org>
Tested-by: Pawel Moll <pawel.moll@arm.com>
Signed-off-by: Chris Ball <cjb@laptop.org>
2011-07-20 17:20:54 -04:00
..
boot.h mmc: Standardize header file inclusion checks. 2011-07-20 17:20:48 -04:00
card.h mmc: Standardize header file inclusion checks. 2011-07-20 17:20:48 -04:00
core.h mmc: Standardize header file inclusion checks. 2011-07-20 17:20:48 -04:00
dw_mmc.h mmc: Standardize header file inclusion checks. 2011-07-20 17:20:48 -04:00
host.h mmc: Standardize header file inclusion checks. 2011-07-20 17:20:48 -04:00
ioctl.h mmc: Standardize header file inclusion checks. 2011-07-20 17:20:48 -04:00
Kbuild mmc: core: Add mmc CMD+ACMD passthrough ioctl 2011-05-24 21:02:54 -04:00
mmc.h mmc: block: allow get_card_status() to return error status 2011-07-20 17:20:54 -04:00
pm.h mmc: Standardize header file inclusion checks. 2011-07-20 17:20:48 -04:00
sd.h mmc: Standardize header file inclusion checks. 2011-07-20 17:20:48 -04:00
sdhci-spear.h mmc: Standardize header file inclusion checks. 2011-07-20 17:20:48 -04:00
sdhci.h mmc: Standardize header file inclusion checks. 2011-07-20 17:20:48 -04:00
sdio.h mmc: Standardize header file inclusion checks. 2011-07-20 17:20:48 -04:00
sdio_func.h mmc: Standardize header file inclusion checks. 2011-07-20 17:20:48 -04:00
sdio_ids.h mmc: Standardize header file inclusion checks. 2011-07-20 17:20:48 -04:00
sh_mmcif.h mmc: Standardize header file inclusion checks. 2011-07-20 17:20:48 -04:00
sh_mobile_sdhi.h mmc: Standardize header file inclusion checks. 2011-07-20 17:20:48 -04:00
tmio.h mmc: Standardize header file inclusion checks. 2011-07-20 17:20:48 -04:00