From: Guennadi Liakhovetski Date: Thu, 14 Jul 2011 10:12:38 +0000 (+0200) Subject: mmc: tmio: fix recursive spinlock, don't schedule with interrupts disabled X-Git-Tag: v3.1-rc1~321^2~9 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b9269fdd4f61aa4d185c982b0f84a3e7b7ccb4d2;p=pandora-kernel.git mmc: tmio: fix recursive spinlock, don't schedule with interrupts disabled Calling mmc_request_done() under a spinlock with interrupts disabled leads to a recursive spin-lock on request retry path and to scheduling in atomic context. This patch fixes both these problems by moving mmc_request_done() to the scheduler workqueue. Signed-off-by: Guennadi Liakhovetski Signed-off-by: Chris Ball --- Reading git-diff-tree failed