Commits
Jean-Jacques Hiblot committed 2cf04598a48
mmc: During a switch, poll on dat0 if available and check the final status commit bb98b8c5c06a5a9befb74aef843f7cd698c52d5d upstream The switch operation can sometimes make the bus unreliable, in that case the send_status parameter should be false to indicate not to poll using CMD13. If polling on dat0 is possible, we should use it to detect the end of the operation. At the end of the operation it is safe to use CMD13 to get the status of the card. It is important to do so because the operation may have failed. Tested-by: Faiz Abbas <faiz_abbas@ti.com> Reviewed-by: Faiz Abbas <faiz_abbas@ti.com> Signed-off-by: Jean-Jacques Hiblot <jjhiblot@ti.com>