mmc: sdhci-pxav2: add SDIO card IRQ workaround for PXA168 V1 controller
authorDoug Brown <doug@schmorgal.com>
Mon, 16 Jan 2023 19:43:59 +0000 (11:43 -0800)
committerUlf Hansson <ulf.hansson@linaro.org>
Tue, 24 Jan 2023 10:56:41 +0000 (11:56 +0100)
commit24552ccb4f1e0a9bf961056057aa8bd4c0d8dfe8
treec77bb91f1cbff0a8feb31b983171dab00b7bf955
parente41c48b4bcb3ceee43a101ba7d514483271fb2fb
mmc: sdhci-pxav2: add SDIO card IRQ workaround for PXA168 V1 controller

The PXA168 has a documented silicon bug that causes SDIO card IRQs to be
missed. Implement the first half of the suggested workaround, which
involves resetting the data port logic and issuing a dummy CMD0 to
restart the clock.

Signed-off-by: Doug Brown <doug@schmorgal.com>
Acked-by: Adrian Hunter <adrian.hunter@intel.com>
Link: https://lore.kernel.org/r/20230116194401.20372-7-doug@schmorgal.com
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
drivers/mmc/host/sdhci-pxav2.c