Skip to content

Commit 665e985

Browse files
JoePerchesstorulf
authored andcommitted
mmc: meson-mx-sdio: Fix misuse of GENMASK macro
Arguments are supposed to be ordered high then low. Signed-off-by: Joe Perches <[email protected]> Reviewed-by: Neil Armstrong <[email protected]> Fixes: ed80a13 ("mmc: meson-mx-sdio: Add a driver for the Amlogic Meson8 and Meson8b SoCs") Cc: [email protected] Signed-off-by: Ulf Hansson <[email protected]>
1 parent ba2d139 commit 665e985

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/mmc/host/meson-mx-sdio.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@
7373
#define MESON_MX_SDIO_IRQC_IF_CONFIG_MASK GENMASK(7, 6)
7474
#define MESON_MX_SDIO_IRQC_FORCE_DATA_CLK BIT(8)
7575
#define MESON_MX_SDIO_IRQC_FORCE_DATA_CMD BIT(9)
76-
#define MESON_MX_SDIO_IRQC_FORCE_DATA_DAT_MASK GENMASK(10, 13)
76+
#define MESON_MX_SDIO_IRQC_FORCE_DATA_DAT_MASK GENMASK(13, 10)
7777
#define MESON_MX_SDIO_IRQC_SOFT_RESET BIT(15)
7878
#define MESON_MX_SDIO_IRQC_FORCE_HALT BIT(30)
7979
#define MESON_MX_SDIO_IRQC_HALT_HOLE BIT(31)

0 commit comments

Comments
 (0)