mmc: core: sdio: Fix unconditional wake_up_process() on sdio thread
authorFu Zhonghui <zhonghui.fu@linux.intel.com>
Mon, 18 Aug 2014 02:48:14 +0000 (10:48 +0800)
committerUlf Hansson <ulf.hansson@linaro.org>
Tue, 9 Sep 2014 11:59:04 +0000 (13:59 +0200)
commitdea67c4ec8218b301d7cac7ee6e63dac0bc566cb
treeeffaa882b9c5fb831c41b7d369e8b797871b369b
parentb1dec12032af3a5239171c76cd43a4d372d8829b
mmc: core: sdio: Fix unconditional wake_up_process() on sdio thread

781e989cf59 ("mmc: sdhci: convert to new SDIO IRQ handling") and
bf3b5ec66bd ("mmc: sdio_irq: rework sdio irq handling") disabled
the use of our own custom threaded IRQ handler, but left in an
unconditional wake_up_process() on that handler at resume-time.
Link: https://bugzilla.kernel.org/show_bug.cgi?id=80151
In addition, the check for MMC_CAP_SDIO_IRQ capability is added
before enable sdio IRQ.

Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
Signed-off-by: Chris Ball <chris@printf.net>
Signed-off-by: Fu Zhonghui <zhonghui.fu@linux.intel.com>
Cc: <stable@vger.kernel.org> # v3.16+
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
drivers/mmc/core/sdio.c
drivers/mmc/core/sdio_irq.c