]> git.baikalelectronics.ru Git - kernel.git/commit
mmc: sdhci-pci-gli: GL975[50]: Issue 8/16-bit MMIO reads as 32-bit reads.
authorHector Martin <marcan@marcan.st>
Wed, 15 Dec 2021 16:10:45 +0000 (01:10 +0900)
committerUlf Hansson <ulf.hansson@linaro.org>
Tue, 21 Dec 2021 12:10:34 +0000 (13:10 +0100)
commit9c90b3108af6896755f4253cf325212e4a558b79
tree52a63c909bf985b44bc2192c24b42614c26abc18
parent424b788f4bc76afe0f46da4368c72949a15c199b
mmc: sdhci-pci-gli: GL975[50]: Issue 8/16-bit MMIO reads as 32-bit reads.

For some reason, <32-bit reads do not work on Apple ARM64 platforms with
these chips (even though they do on other PCIe devices). Issue them as
32-bit reads instead. This is done unconditionally, as it shouldn't hurt
even if not necessary.

Acked-by: Adrian Hunter <adrian.hunter@intel.com>
Signed-off-by: Hector Martin <marcan@marcan.st>
Link: https://lore.kernel.org/r/20211215161045.38843-3-marcan@marcan.st
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
drivers/mmc/host/sdhci-pci-gli.c