mmc: Handle switch error status bit in MMC card status
authorAndrew Gabbasov <andrew_gabbasov@mentor.com>
Thu, 3 Apr 2014 09:34:32 +0000 (04:34 -0500)
committerPantelis Antoniou <panto@antoniou-consulting.com>
Fri, 23 May 2014 08:34:33 +0000 (11:34 +0300)
commit6b2221b008e0ea66de5befab38515e1a38c74d4f
treed318147bba7167738a8b1293c91a9d5c665e09a9
parentd803fea576c0b9caf2ece1ea1fac0550d3508a4d
mmc: Handle switch error status bit in MMC card status

MMC switch command for unsupported feature (e.g. bus width) sets a switch
error bit in card status. This bit should be checked, and, if it's set,
no access with new controller settings should be performed.

Acked-by: Pantelis Antoniou <panto@antoniou-consulting.com>
Signed-off-by: Andrew Gabbasov <andrew_gabbasov@mentor.com>
drivers/mmc/mmc.c
include/mmc.h