[PATCH 1/3] mmc: bcm2835: Fix documentation about SDHSTS register

Stefan Wahren stefan.wahren at i2se.com
Thu Mar 2 11:24:08 PST 2017


The SDHSTS register is written multiple times in the driver,
so it's pretty clear that the register is writeable.

Signed-off-by: Stefan Wahren <stefan.wahren at i2se.com>
---
 drivers/mmc/host/bcm2835.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/mmc/host/bcm2835.c b/drivers/mmc/host/bcm2835.c
index 90b93d6..f5b8cac 100644
--- a/drivers/mmc/host/bcm2835.c
+++ b/drivers/mmc/host/bcm2835.c
@@ -68,7 +68,7 @@
 #define SDRSP1 0x14 /* SD card response (63:32)        - 32 R   */
 #define SDRSP2 0x18 /* SD card response (95:64)        - 32 R   */
 #define SDRSP3 0x1c /* SD card response (127:96)       - 32 R   */
-#define SDHSTS 0x20 /* SD host status                  - 11 R   */
+#define SDHSTS 0x20 /* SD host status                  - 11 R/W */
 #define SDVDD  0x30 /* SD card power control           -  1 R/W */
 #define SDEDM  0x34 /* Emergency Debug Mode            - 13 R/W */
 #define SDHCFG 0x38 /* Host configuration              -  2 R/W */
-- 
1.7.9.5




More information about the linux-rpi-kernel mailing list