From: Wei WANG Date: Tue, 29 Jan 2013 07:21:37 +0000 (+0800) Subject: mfd: rtsx: Optimize card detect flow X-Git-Tag: v3.9-rc1~92^2~24 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=504decc0a063e6a09a1e5b203ca68bc21dfffde9;p=pandora-kernel.git mfd: rtsx: Optimize card detect flow 1. Schedule card detect work at the end of the ISR 2. Callback function ops->cd_deglitch may delay for a period of time. It is not proper to call this callback when local irq disabled. 3. Card detect flow can't be executed in parallel with other card reader operations, so it's better to be protected by mutex. Signed-off-by: Wei WANG Signed-off-by: Samuel Ortiz --- Reading git-diff-tree failed