From: Robert Jarzmik Date: Sat, 26 Sep 2015 19:41:01 +0000 (+0200) Subject: mmc: pxamci: fix card detect with slot-gpio API X-Git-Tag: omap-for-v4.3/fixes-rc5~53^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fd546ee6a7dc4b71ebc6d1205bf72ea3c1c7030a;p=pandora-kernel.git mmc: pxamci: fix card detect with slot-gpio API Move pxamci to mmc slot-gpio API to fix interrupt request. It fixes the case where the card detection is on a gpio expander, on I2C for example on zylonite board. In this case, the card detect netsted interrupt is called from a threaded interrupt. The request_irq() fails, because a hard irq cannot be a nested interrupt from a threaded interrupt (set __setup_irq()). This was tested on zylonite and mioa701 boards. Signed-off-by: Robert Jarzmik Cc: Petr Cvek Signed-off-by: Ulf Hansson --- Reading git-diff-tree failed