]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit28be9de9f0907a0b2eb540f93f44f17b6da04ae7
treeeffaa882b9c5fb831c41b7d369e8b797871b369b
parentfe486574c7037c295b45ac6329e06e4cf13c9fbe
mmc: core: sdio: Fix unconditional wake_up_process() on sdio thread

dd7750d6733 ("mmc: sdhci: convert to new SDIO IRQ handling") and
0816ce7f04f ("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