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)
commitf13e5b9f3c625916d7658ba526574a5d24e4d664
treeae0516de2da20b2e05b36a777e7d5fc3e1830bd5
parent4c06654c47ee2ff5308b7e89994225ff81b48ef2
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