From: Pierre Ossman Date: Sun, 22 Oct 2006 20:13:10 +0000 (+0200) Subject: mmc: Fix mmc_delay() function X-Git-Tag: v2.6.20-rc1~34^2~40^2~464^2~4 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=73778120c4088a0a7b59c4c378904f7a230b4820;p=pandora-kernel.git 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 --- Reading git-diff-tree failed