[PATCH 2/2] mmc: sdhci-of-hlwd: disable bounce buffer usage

Michael Garofalo posted 2 patches 2 months, 1 week ago
[PATCH 2/2] mmc: sdhci-of-hlwd: disable bounce buffer usage
Posted by Michael Garofalo 2 months, 1 week ago
On the SDHCI controller in the Nintendo Wii's "Hollywood" chipset, using
bounce buffers causes the internal Broadcom 4318 Wi-Fi to fail on most
data transfers.  Disabling bounce buffer usage allows reliable
transmission again.

Signed-off-by: Michael Garofalo <officialTechflashYT@gmail.com>
---
 drivers/mmc/host/sdhci-of-hlwd.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/mmc/host/sdhci-of-hlwd.c b/drivers/mmc/host/sdhci-of-hlwd.c
index 5bb845d13599..59736ae85c14 100644
--- a/drivers/mmc/host/sdhci-of-hlwd.c
+++ b/drivers/mmc/host/sdhci-of-hlwd.c
@@ -63,6 +63,7 @@ static const struct sdhci_ops sdhci_hlwd_ops = {
 static const struct sdhci_pltfm_data sdhci_hlwd_pdata = {
 	.quirks = SDHCI_QUIRK_32BIT_DMA_ADDR |
 		  SDHCI_QUIRK_32BIT_DMA_SIZE,
+	.quirks2 = SDHCI_QUIRK2_NO_BOUNCE_BUFFER,
 	.ops = &sdhci_hlwd_ops,
 };
 
-- 
2.51.0