diff options
| author | Andrew Kreimer <[email protected]> | 2024-09-12 12:49:34 +0000 |
|---|---|---|
| committer | Uwe Kleine-König <[email protected]> | 2024-09-16 13:24:59 +0000 |
| commit | d242feaf81d63b25d8c1fb1a68738dc33966a376 (patch) | |
| tree | 01f6ebae83ee12ff06388f2ac82b565f13c6c740 /drivers/pwm/pwm-stm32.c | |
| parent | dt-bindings: pwm: amlogic: Add new bindings for meson A1 PWM (diff) | |
| download | kernel-d242feaf81d63b25d8c1fb1a68738dc33966a376.tar.gz kernel-d242feaf81d63b25d8c1fb1a68738dc33966a376.zip | |
pwm: stm32: Fix a typo
Fix a typo in comments.
Reported-by: Matthew Wilcox <[email protected]>
Signed-off-by: Andrew Kreimer <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Uwe Kleine-König <[email protected]>
Diffstat (limited to 'drivers/pwm/pwm-stm32.c')
| -rw-r--r-- | drivers/pwm/pwm-stm32.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/pwm/pwm-stm32.c b/drivers/pwm/pwm-stm32.c index f85eb41cb084..eb24054f9729 100644 --- a/drivers/pwm/pwm-stm32.c +++ b/drivers/pwm/pwm-stm32.c @@ -222,7 +222,7 @@ static int stm32_pwm_capture(struct pwm_chip *chip, struct pwm_device *pwm, scale = max_arr / min(max_arr, raw_prd); } else { - scale = priv->max_arr; /* bellow resolution, use max scale */ + scale = priv->max_arr; /* below resolution, use max scale */ } if (psc && scale > 1) { |
