mmc: sdhci-esdhc: Make 8BIT bus work
authorJoakim Tjernlund <Joakim.Tjernlund@transmode.se>
Wed, 22 Jul 2015 14:44:26 +0000 (16:44 +0200)
committerJiri Slaby <jslaby@suse.cz>
Wed, 19 Aug 2015 06:36:37 +0000 (08:36 +0200)
commit 8e91125ff3f57f15c6568e2a6d32743b3f7815e4 upstream.

Support for 8BIT bus with was added some time ago to sdhci-esdhc but
then missed to remove the 8BIT from the reserved bit mask which made
8BIT non functional.

Fixes: 66b50a00992d ("mmc: esdhc: Add support for 8-bit bus width and..")
Signed-off-by: Joakim Tjernlund <joakim.tjernlund@transmode.se>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Signed-off-by: Jiri Slaby <jslaby@suse.cz>
drivers/mmc/host/sdhci-esdhc.h

index a2a06420e4635b3904c0cd73f662b21623994de7..ebff71092743b1ef82f2bd46a10b66f527eb19d4 100644 (file)
@@ -47,7 +47,7 @@
 #define ESDHC_DMA_SYSCTL       0x40c
 #define ESDHC_DMA_SNOOP                0x00000040
 
-#define ESDHC_HOST_CONTROL_RES 0x05
+#define ESDHC_HOST_CONTROL_RES 0x01
 
 static inline void esdhc_set_clock(struct sdhci_host *host, unsigned int clock,
                                   unsigned int host_clock)