diff options
author | Wolfgang Muees <wolfgang.mues@auerswald.de> | 2009-04-07 15:26:30 +0100 |
---|---|---|
committer | Pierre Ossman <pierre@ossman.eu> | 2009-04-08 20:38:42 +0200 |
commit | 56e303ebeec7ef43dbd9d7998f8ad1a9f75d59bc (patch) | |
tree | fb673041c46307965f45fd0af50e5c06f728deda /init | |
parent | 9d9f25c036dd584db175552a7d162403d3ab54b3 (diff) | |
download | blackbird-op-linux-56e303ebeec7ef43dbd9d7998f8ad1a9f75d59bc.tar.gz blackbird-op-linux-56e303ebeec7ef43dbd9d7998f8ad1a9f75d59bc.zip |
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>
Diffstat (limited to 'init')
0 files changed, 0 insertions, 0 deletions