mmc: sdhci-of-esdhc: Don't walk device-tree on every interrupt
authorChris Packham <chris.packham@alliedtelesis.co.nz>
Thu, 3 Sep 2020 01:20:29 +0000 (13:20 +1200)
committerUlf Hansson <ulf.hansson@linaro.org>
Mon, 7 Sep 2020 06:57:44 +0000 (08:57 +0200)
commit060522d89705f9d961ef1762dc1468645dd21fbd
treec6289cdbc841c7a1d619883646ea93ec2aec38d3
parenta395acf0f6dc6409a704dea6fc3cd71eb8e3e4ec
mmc: sdhci-of-esdhc: Don't walk device-tree on every interrupt

Commit b214fe592ab7 ("mmc: sdhci-of-esdhc: add erratum eSDHC7 support")
added code to check for a specific compatible string in the device-tree
on every esdhc interrupat. Instead of doing this record the quirk in
struct sdhci_esdhc and lookup the struct in esdhc_irq.

Signed-off-by: Chris Packham <chris.packham@alliedtelesis.co.nz>
Link: https://lore.kernel.org/r/20200903012029.25673-1-chris.packham@alliedtelesis.co.nz
Fixes: b214fe592ab7 ("mmc: sdhci-of-esdhc: add erratum eSDHC7 support")
Cc: stable@vger.kernel.org
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
drivers/mmc/host/sdhci-of-esdhc.c