commit | 31789325498dc6334311aa23da9e43428bfbc422 | [log] [tgz] |
---|---|---|
author | Jan Kloetzke <jan.kloetzke@dspg.com> | Sun Feb 05 22:29:12 2012 +0000 |
committer | Andy Fleming <afleming@freescale.com> | Wed Feb 15 17:42:22 2012 -0600 |
tree | 44cd0587b8624692b62b478279bce1f5948fdbaa | |
parent | 4e929ddaee9ed7dd71bb4b6446a74ba3ec4ddfe1 [diff] |
mmc: make mmc_send_status() more reliable Align the card status polling with the Linux kernel and retry the command at least five times. Also some cards apparently mishandle the status bits, so make sure to check the card state too. Signed-off-by: Jan Kloetzke <jan.kloetzke@dspg.com> Cc: Andy Fleming <afleming@gmail.com>