diff options
author | Robert Jarzmik <robert.jarzmik@free.fr> | 2015-09-26 21:41:01 +0200 |
---|---|---|
committer | Ulf Hansson <ulf.hansson@linaro.org> | 2015-09-29 12:17:05 +0200 |
commit | fd546ee6a7dc4b71ebc6d1205bf72ea3c1c7030a (patch) | |
tree | b145c9e9bea9a40a4c0b37e0cd864555e957345e /drivers/mmc/core | |
parent | 51424b2860670ec20e1dd5177fe70ab4b6fd7a5b (diff) |
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 'drivers/mmc/core')
0 files changed, 0 insertions, 0 deletions