mmc: atmel-mci: save and restore sdioirq when soft reset is performed
authorLudovic Desroches <ludovic.desroches@atmel.com>
Thu, 9 Feb 2012 10:55:29 +0000 (11:55 +0100)
committerChris Ball <cjb@laptop.org>
Tue, 14 Feb 2012 01:39:05 +0000 (20:39 -0500)
commit18ee684b8ab666329e0a0a72d8b70f16fb0e2243
treef7d12e7061397d3b2c3747572f84cd19e504a75a
parent00d9ac08757049f334803b3d4dd202a6b1687dab
mmc: atmel-mci: save and restore sdioirq when soft reset is performed

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>
Cc: stable <stable@vger.kernel.org>
Signed-off-by: Nicolas Ferre <nicolas.ferre@atmel.com>
Signed-off-by: Chris Ball <cjb@laptop.org>
drivers/mmc/host/atmel-mci.c