|
@@ -2217,6 +2217,10 @@ static irqreturn_t dw_mci_interrupt(int irq, void *dev_id)
|
|
|
/* Handle SDIO Interrupts */
|
|
/* Handle SDIO Interrupts */
|
|
|
for (i = 0; i < host->num_slots; i++) {
|
|
for (i = 0; i < host->num_slots; i++) {
|
|
|
struct dw_mci_slot *slot = host->slot[i];
|
|
struct dw_mci_slot *slot = host->slot[i];
|
|
|
|
|
+
|
|
|
|
|
+ if (!slot)
|
|
|
|
|
+ continue;
|
|
|
|
|
+
|
|
|
if (pending & SDMMC_INT_SDIO(slot->sdio_id)) {
|
|
if (pending & SDMMC_INT_SDIO(slot->sdio_id)) {
|
|
|
mci_writel(host, RINTSTS,
|
|
mci_writel(host, RINTSTS,
|
|
|
SDMMC_INT_SDIO(slot->sdio_id));
|
|
SDMMC_INT_SDIO(slot->sdio_id));
|