Skip to content

Commit ba73515

Browse files
haukeralfbaechle
authored andcommitted
MIPS: Lantiq: Fix mask of GPE frequency
The hardware documentation says bit 11:10 are used for the GPE frequency selection. Fix the mask in the define to match these bits. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> Reported-by: Dan Carpenter <dan.carpenter@oracle.com> Reviewed-by: Thomas Langer <thomas.langer@intel.com> Cc: linux-mips@linux-mips.org Cc: john@phrozen.org Patchwork: https://patchwork.linux-mips.org/patch/14648/ Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
1 parent edb6fa1 commit ba73515

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

arch/mips/lantiq/falcon/sysctrl.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424

2525
/* GPE frequency selection */
2626
#define GPPC_OFFSET 24
27-
#define GPEFREQ_MASK 0x00000C0
27+
#define GPEFREQ_MASK 0x0000C00
2828
#define GPEFREQ_OFFSET 10
2929
/* Clock status register */
3030
#define SYSCTL_CLKS 0x0000

0 commit comments

Comments
 (0)