mmc: sdhci-pci-gli: Fix no irq handler from suspend
authorBen Chuang <ben.chuang@genesyslogic.com.tw>
Mon, 27 Apr 2020 10:30:48 +0000 (18:30 +0800)
committerUlf Hansson <ulf.hansson@linaro.org>
Thu, 7 May 2020 13:08:59 +0000 (15:08 +0200)
commit282ede76e47048eebc8ce5324b412890f0ec0a69
treeebc1a4beeae3f6f484f4f25785b1ba0bdeeb0858
parent0e698dfa282211e414076f9dc7e83c1c288314fd
mmc: sdhci-pci-gli: Fix no irq handler from suspend

The kernel prints a message similar to
"[   28.881959] do_IRQ: 5.36 No irq handler for vector"
when GL975x resumes from suspend. Implement a resume callback to fix this.

Fixes: 31e43f31890c ("mmc: sdhci-pci-gli: Enable MSI interrupt for GL975x")
Co-developed-by: Renius Chen <renius.chen@genesyslogic.com.tw>
Signed-off-by: Renius Chen <renius.chen@genesyslogic.com.tw>
Tested-by: Dave Flogeras <dflogeras2@gmail.com>
Signed-off-by: Ben Chuang <ben.chuang@genesyslogic.com.tw>
Tested-by: Vineeth Pillai <vineethrp@gmail.com>
Acked-by: Adrian Hunter <adrian.hunter@intel.com>
Link: https://lore.kernel.org/r/20200427103048.20785-1-benchuanggli@gmail.com
Cc: stable@vger.kernel.org
Signed-off-by: Samuel Zou <zou_wei@huawei.com>
[Samuel Zou: Make sdhci_pci_gli_resume() static]
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
drivers/mmc/host/sdhci-pci-gli.c