Skip to content

Commit d242fea

Browse files
algonellUwe Kleine-König
authored andcommitted
pwm: stm32: Fix a typo
Fix a typo in comments. Reported-by: Matthew Wilcox <willy@infradead.org> Signed-off-by: Andrew Kreimer <algonell@gmail.com> Link: https://lore.kernel.org/r/20240912124944.43284-1-algonell@gmail.com Signed-off-by: Uwe Kleine-König <ukleinek@kernel.org>
1 parent a4cf667 commit d242fea

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

drivers/pwm/pwm-stm32.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -222,7 +222,7 @@ static int stm32_pwm_capture(struct pwm_chip *chip, struct pwm_device *pwm,
222222

223223
scale = max_arr / min(max_arr, raw_prd);
224224
} else {
225-
scale = priv->max_arr; /* bellow resolution, use max scale */
225+
scale = priv->max_arr; /* below resolution, use max scale */
226226
}
227227

228228
if (psc && scale > 1) {

0 commit comments

Comments
 (0)