Skip to content

Commit

Permalink
clocksource/drivers/npcm: Fix misuse of GENMASK macro
Browse files Browse the repository at this point in the history
Arguments are supposed to be ordered high then low.

Signed-off-by: Joe Perches <[email protected]>
Signed-off-by: Thomas Gleixner <[email protected]>
Link: https://lkml.kernel.org/r/d6a9d49c9837d38816b71d783f5aed7235e8ca94.1562734889.git.joe@perches.com
  • Loading branch information
JoePerches authored and KAGA-KOKO committed Jul 10, 2019
1 parent 222a21d commit 9bdd7bb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/clocksource/timer-npcm7xx.c
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
#define NPCM7XX_Tx_INTEN BIT(29)
#define NPCM7XX_Tx_COUNTEN BIT(30)
#define NPCM7XX_Tx_ONESHOT 0x0
#define NPCM7XX_Tx_OPER GENMASK(3, 27)
#define NPCM7XX_Tx_OPER GENMASK(27, 3)
#define NPCM7XX_Tx_MIN_PRESCALE 0x1
#define NPCM7XX_Tx_TDR_MASK_BITS 24
#define NPCM7XX_Tx_MAX_CNT 0xFFFFFF
Expand Down

0 comments on commit 9bdd7bb

Please sign in to comment.