commit | 56e303ebeec7ef43dbd9d7998f8ad1a9f75d59bc | [log] [tgz] |
---|---|---|
author | Wolfgang Muees <wolfgang.mues@auerswald.de> | Tue Apr 07 15:26:30 2009 +0100 |
committer | Pierre Ossman <pierre@ossman.eu> | Wed Apr 08 20:38:42 2009 +0200 |
tree | fb673041c46307965f45fd0af50e5c06f728deda | |
parent | 9d9f25c036dd584db175552a7d162403d3ab54b3 [diff] |
mmc_spi: convert timeout handling to jiffies and avoid busy waiting SD/MMC card timeouts can be very high. So avoid busy-waiting, using the scheduler. Calculate all timeouts in jiffies units, because this will give us the correct sign when to involve the scheduler. Signed-off-by: Wolfgang Muees <wolfgang.mues@auerswald.de> Signed-off-by: Pierre Ossman <pierre@ossman.eu>