commit | 73778120c4088a0a7b59c4c378904f7a230b4820 | [log] [tgz] |
---|---|---|
author | Pierre Ossman <drzeus@drzeus.cx> | Sun Oct 22 22:13:10 2006 +0200 |
committer | Pierre Ossman <drzeus@drzeus.cx> | Fri Dec 01 18:27:23 2006 +0100 |
tree | 8b5bf199e7af815695013dea46901c948e84cbad | |
parent | e45a1bd20fa5b920901879e85cdf5eda21f78d7c [diff] |
mmc: Fix mmc_delay() function Several fixes for mmc_delay(): * Repair if-clause that was supposed to detect sub-hz delays. * Change yield() to cond_resched() as yield() no longer has the semantics we desire. * mmc_delay() is used to guarantee protocol delays, so we cannot return early (i.e. use _interruptable). Based on patch by Amol Lad. Signed-off-by: Pierre Ossman <drzeus@drzeus.cx>