mmc_spi: convert timeout handling to jiffies and avoid busy waiting
authorWolfgang Muees <wolfgang.mues@auerswald.de>
Tue, 7 Apr 2009 14:26:30 +0000 (15:26 +0100)
committerPierre Ossman <pierre@ossman.eu>
Wed, 8 Apr 2009 18:38:42 +0000 (20:38 +0200)
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>

No differences found