diff options
Diffstat (limited to 'include/linux/mmc')
| -rw-r--r-- | include/linux/mmc/host.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/mmc/host.h b/include/linux/mmc/host.h index cbde4b7e675e..0707d228d7f1 100644 --- a/include/linux/mmc/host.h +++ b/include/linux/mmc/host.h | |||
| @@ -297,6 +297,7 @@ struct mmc_host { | |||
| 297 | 297 | ||
| 298 | unsigned int sdio_irqs; | 298 | unsigned int sdio_irqs; |
| 299 | struct task_struct *sdio_irq_thread; | 299 | struct task_struct *sdio_irq_thread; |
| 300 | bool sdio_irq_pending; | ||
| 300 | atomic_t sdio_irq_thread_abort; | 301 | atomic_t sdio_irq_thread_abort; |
| 301 | 302 | ||
| 302 | mmc_pm_flag_t pm_flags; /* requested pm features */ | 303 | mmc_pm_flag_t pm_flags; /* requested pm features */ |
| @@ -352,6 +353,7 @@ extern int mmc_cache_ctrl(struct mmc_host *, u8); | |||
| 352 | static inline void mmc_signal_sdio_irq(struct mmc_host *host) | 353 | static inline void mmc_signal_sdio_irq(struct mmc_host *host) |
| 353 | { | 354 | { |
| 354 | host->ops->enable_sdio_irq(host, 0); | 355 | host->ops->enable_sdio_irq(host, 0); |
| 356 | host->sdio_irq_pending = true; | ||
| 355 | wake_up_process(host->sdio_irq_thread); | 357 | wake_up_process(host->sdio_irq_thread); |
| 356 | } | 358 | } |
| 357 | 359 | ||
