diff options
Diffstat (limited to 'chip/lm4/clock.c')
-rw-r--r-- | chip/lm4/clock.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/chip/lm4/clock.c b/chip/lm4/clock.c index aaa2e9403c..e709fa0b62 100644 --- a/chip/lm4/clock.c +++ b/chip/lm4/clock.c @@ -214,7 +214,7 @@ static int command_pll(int argc, char **argv) /* Disable PLL and set extra divider */ char *e; div = strtoi(argv[1], &e, 10); - if (e && *e) + if (*e) return EC_ERROR_INVAL; LM4_SYSTEM_RCC = LM4_SYSTEM_RCC_SYSDIV(div - 1) | |