From: Russell King - ARM Linux Date: Mon, 20 Jun 2011 19:10:08 +0000 (+0100) Subject: mmc: block: allow get_card_status() to return error status X-Git-Tag: v3.1-rc1~321^2~63 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0a2d4048a22079d7e79d6654bbacbef57bd5728a;p=pandora-kernel.git 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 Acked-by: Linus Walleij Tested-by: Pawel Moll Signed-off-by: Chris Ball --- Reading git-diff-tree failed