mmc: atmel-mci: save and restore sdioirq when soft reset is performed
commitb207384ec8dd38b408be6c29bcf7a3484771c34e
authorLudovic Desroches <ludovic.desroches@atmel.com>
Thu, 9 Feb 2012 10:55:29 +0000 (9 11:55 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 20 Feb 2012 20:46:20 +0000 (20 12:46 -0800)
tree23373ad6dd5613a9799d79f6986a8d0874c4411c
parent2edcb814b345ab919010974e88a4bbd407bf4db8
mmc: atmel-mci: save and restore sdioirq when soft reset is performed

commit 18ee684b8ab666329e0a0a72d8b70f16fb0e2243 upstream.

Sometimes a software reset is needed. Then some registers are saved and
restored but the interrupt mask register is missing. It causes issues
with sdio devices whose interrupts are masked after reset.

Signed-off-by: Ludovic Desroches <ludovic.desroches@atmel.com>
Signed-off-by: Nicolas Ferre <nicolas.ferre@atmel.com>
Signed-off-by: Chris Ball <cjb@laptop.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/mmc/host/atmel-mci.c