mmc: core: Add TRANsfer state to non-HPI state
authorVenkatraman S <svenkatr@ti.com>
Tue, 7 Aug 2012 13:54:45 +0000 (19:24 +0530)
committerChris Ball <cjb@laptop.org>
Tue, 4 Sep 2012 17:58:20 +0000 (13:58 -0400)
commit211d4fe580735bab850d31f9e4c0a62b47a38bb2
treea3eb4b6d2c833e980c4137463b21c1ae8fb33dde
parent7a8a43c46a4c91475ff93eb00897cbbc5ec98874
mmc: core: Add TRANsfer state to non-HPI state

HPI can be issued only in programming state to bring the card to
transfer state. If the card is already in transfer state, doing
a HPI is redundant.
Fix this by adding transfer state to the list of exceptions to
doing HPI and return without error.

Signed-off-by: Venkatraman S <svenkatr@ti.com>
Acked-by: Felipe Balbi <balbi@ti.com>
Signed-off-by: Chris Ball <cjb@laptop.org>
drivers/mmc/core/core.c