Skip to content

Commit 9faf870

Browse files
Sergei Shtylyovstorulf
authored andcommitted
mmc: renesas_sdhi_internal_dmac: fix #define RST_RESERVED_BITS
The DM_CM_RST register actually has bits 0-31 defaulting to 1s and bits 32-63 defaulting to 0s -- fix off-by-one in #define RST_RESERVED_BITS. Signed-off-by: Sergei Shtylyov <[email protected]> Reviewed-by: Wolfram Sang <[email protected]> Fixes: 2a68ea7 ("mmc: renesas-sdhi: add support for R-Car Gen3 SDHI DMAC") Cc: [email protected] # v4.14+ Signed-off-by: Ulf Hansson <[email protected]>
1 parent 26caddf commit 9faf870

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/mmc/host/renesas_sdhi_internal_dmac.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@
4545
/* DM_CM_RST */
4646
#define RST_DTRANRST1 BIT(9)
4747
#define RST_DTRANRST0 BIT(8)
48-
#define RST_RESERVED_BITS GENMASK_ULL(32, 0)
48+
#define RST_RESERVED_BITS GENMASK_ULL(31, 0)
4949

5050
/* DM_CM_INFO1 and DM_CM_INFO1_MASK */
5151
#define INFO1_CLEAR 0

0 commit comments

Comments
 (0)