diff options
| author | Ulf Hansson <ulf.hansson@linaro.org> | 2019-06-18 14:06:56 +0200 |
|---|---|---|
| committer | Ulf Hansson <ulf.hansson@linaro.org> | 2019-06-18 14:06:56 +0200 |
| commit | 9d767dc55208f19f81767a2aa775f36010a1fb14 (patch) | |
| tree | af70b431f841537a899938838d2031dc1dd93b21 /drivers/mmc/core/sdio_irq.c | |
| parent | 6e8e1acda6aab9638c15c085dbef1dc429c1e87e (diff) | |
| parent | 83293386bc95cf5e9f0c0175794455835bd1cb4a (diff) | |
Merge branch 'fixes' into next
Diffstat (limited to 'drivers/mmc/core/sdio_irq.c')
| -rw-r--r-- | drivers/mmc/core/sdio_irq.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/mmc/core/sdio_irq.c b/drivers/mmc/core/sdio_irq.c index 931e6226c0b3..9f54a259a1b3 100644 --- a/drivers/mmc/core/sdio_irq.c +++ b/drivers/mmc/core/sdio_irq.c @@ -34,6 +34,10 @@ static int process_sdio_pending_irqs(struct mmc_host *host) unsigned char pending; struct sdio_func *func; + /* Don't process SDIO IRQs if the card is suspended. */ + if (mmc_card_suspended(card)) + return 0; + /* * Optimization, if there is only 1 function interrupt registered * and we know an IRQ was signaled then call irq handler directly. |