]> Git Repo - J-u-boot.git/commit - drivers/mmc/sdhci.c
mmc: sdhci: fix bus width switching on Samsung SoCs
authorMatt Reimer <[email protected]>
Thu, 19 Feb 2015 18:22:53 +0000 (11:22 -0700)
committerPantelis Antoniou <[email protected]>
Mon, 23 Feb 2015 17:52:00 +0000 (19:52 +0200)
commitf88a429f1179c9d9ab2883fba0ed0aa13c9bd72e
treea9b67b3b9dfbe4a2027f9fd58c16a68ef1cd149b
parent34dd928492fa020455d9b9f59fe4b643c0708306
mmc: sdhci: fix bus width switching on Samsung SoCs

Fix bus width switching from 8-bit mode down to 4-bit or 1-bit modes on
Samsung SoCs using SDHCI_QUIRK_USE_WIDE8.  These SoCs report controller
version 2.0 yet they support 8-bit bus widths.  If 8-bit mode was
previously enabled and then an operation like "mmc dev" caused a switch
back down to 4-bit or 1-bit mode, WIDE8 was left set, causing failures.

This problem was manifested by "mmc dev" timing out.

Signed-off-by: Matt Reimer <[email protected]>
drivers/mmc/sdhci.c
This page took 0.033965 seconds and 4 git commands to generate.