]> git.baikalelectronics.ru Git - kernel.git/commit
mmc: sdio: avoid using NULL sdio_irq_thread pointer
authorYangbo Lu <yangbo.lu@freescale.com>
Fri, 10 Jul 2015 03:36:45 +0000 (11:36 +0800)
committerUlf Hansson <ulf.hansson@linaro.org>
Mon, 17 Aug 2015 09:32:46 +0000 (11:32 +0200)
commitf3a67540eca98e7db59592e9eefc1dc94fa9aa93
treeae0516de2da20b2e05b36a777e7d5fc3e1830bd5
parent5547b271118638b2101838b0ca6c08f7630dd954
mmc: sdio: avoid using NULL sdio_irq_thread pointer

For Freescale QorIQ LS1021AQDS board, there is a SDIO interrupt
in the process of resume without inserting SD adapter because of
some unknown issue. But the driver doesn't assign sdio_irq_thread
pointer. This will block the resume of kernel. This patch is used
to avoid using NULL sdio_irq_thread pointer.

Signed-off-by: Yangbo Lu <yangbo.lu@freescale.com>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
include/linux/mmc/host.h