diff options
author | Russell King - ARM Linux <linux@arm.linux.org.uk> | 2011-06-20 23:10:08 +0400 |
---|---|---|
committer | Chris Ball <cjb@laptop.org> | 2011-07-21 01:20:54 +0400 |
commit | 0a2d4048a22079d7e79d6654bbacbef57bd5728a (patch) | |
tree | 3de4e928e43786b215271d467e77cf6e20a2e724 /README | |
parent | 6e83e10d92e12fa0181766a1fbb00d857bfab779 (diff) | |
download | linux-0a2d4048a22079d7e79d6654bbacbef57bd5728a.tar.xz |
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>
Diffstat (limited to 'README')
0 files changed, 0 insertions, 0 deletions