diff options
author | 2015-09-26 21:41:01 +0200 | |
---|---|---|
committer | 2015-09-29 12:17:05 +0200 | |
commit | fd546ee6a7dc4b71ebc6d1205bf72ea3c1c7030a (patch) | |
tree | b145c9e9bea9a40a4c0b37e0cd864555e957345e /net/switchdev/switchdev.c | |
parent | mmc: sunxi: Fix clk-delay settings (diff) | |
download | wireguard-linux-fd546ee6a7dc4b71ebc6d1205bf72ea3c1c7030a.tar.xz wireguard-linux-fd546ee6a7dc4b71ebc6d1205bf72ea3c1c7030a.zip |
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 <robert.jarzmik@free.fr>
Cc: Petr Cvek <petr.cvek@tul.cz>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Diffstat (limited to 'net/switchdev/switchdev.c')
0 files changed, 0 insertions, 0 deletions