summaryrefslogtreecommitdiff
path: root/arch/mips/lantiq/falcon/sysctrl.c
diff options
context:
space:
mode:
authorJason Wang <wangborong@cdjrlc.com>2021-12-11 16:54:18 +0800
committerThomas Bogendoerfer <tsbogend@alpha.franken.de>2021-12-14 10:03:31 +0100
commit8de927a4d6f8f5c02e337a6121da75e7e1328a28 (patch)
tree854ee68fa5efbd539a0d55fbc7f2d77ce592b174 /arch/mips/lantiq/falcon/sysctrl.c
parentdae39cff8d989a7afbceb1fdc31e61f38e7ed5e3 (diff)
MIPS: lantiq: Fix typo in a comment
The double `if' in the comment in line 144 is repeated. Remove one of them from the comment. Signed-off-by: Jason Wang <wangborong@cdjrlc.com> Signed-off-by: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
Diffstat (limited to 'arch/mips/lantiq/falcon/sysctrl.c')
-rw-r--r--arch/mips/lantiq/falcon/sysctrl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/mips/lantiq/falcon/sysctrl.c b/arch/mips/lantiq/falcon/sysctrl.c
index 42222f849bd2..64726c670ca6 100644
--- a/arch/mips/lantiq/falcon/sysctrl.c
+++ b/arch/mips/lantiq/falcon/sysctrl.c
@@ -141,7 +141,7 @@ static void falcon_gpe_enable(void)
unsigned int freq;
unsigned int status;
- /* if if the clock is already enabled */
+ /* if the clock is already enabled */
status = sysctl_r32(SYSCTL_SYS1, SYS1_INFRAC);
if (status & (1 << (GPPC_OFFSET + 1)))
return;