linux/drivers/mmc/card
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
..
block.c mmc: block: allow get_card_status() to return error status 2011-07-20 17:20:54 -04:00
Kconfig mmc: Improve MMC_TEST config text. 2011-03-15 13:48:56 -04:00
Makefile mmc: Makefile: Fix EXTRA_CFLAGS assignment 2010-10-23 21:11:15 +08:00
mmc_test.c mmc: mmc_test: minor clean up, use t = &test.area everywhere 2011-05-24 23:53:49 -04:00
queue.c mmc: queue: bring discard_granularity/alignment into line with SCSI 2011-06-25 18:53:05 -04:00
queue.h mmc: queue: append partition subname to queue thread name 2011-06-25 18:52:57 -04:00
sdio_uart.c tiocmset: kill the file pointer argument 2011-02-17 11:52:43 -08:00