From: Ulf Hansson Date: Thu, 13 Oct 2011 14:03:58 +0000 (+0200) Subject: mmc: core: Prevent too long response times for suspend X-Git-Tag: v3.2-rc1~129^2~4 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b6ad726e3fe69e1ff3c3b2ad272ba3e4c376cd6a;p=pandora-kernel.git mmc: core: Prevent too long response times for suspend While trying to suspend the mmc host there could still be ongoing requests that we need to wait for. At the same time a device driver must respond to a suspend request rather quickly. Instead of potentially wait "forever" by claiming the host we now "try" to claim the host instead. If it fails, -EBUSY is returned. Signed-off-by: Ulf Hansson Reviewed-by: Sujit Reddy Thumma Acked-by: Linus Walleij Signed-off-by: Chris Ball --- Reading git-diff-tree failed