projects
/
linux-2.6-microblaze.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a4cf667
)
pwm: stm32: Fix a typo
author
Andrew Kreimer
<algonell@gmail.com>
Thu, 12 Sep 2024 12:49:34 +0000
(15:49 +0300)
committer
Uwe Kleine-König
<ukleinek@kernel.org>
Mon, 16 Sep 2024 13:24:59 +0000
(15:24 +0200)
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>
drivers/pwm/pwm-stm32.c
patch
|
blob
|
history
diff --git
a/drivers/pwm/pwm-stm32.c
b/drivers/pwm/pwm-stm32.c
index
f85eb41
..
eb24054
100644
(file)
--- 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; /* bel
l
ow resolution, use max scale */
+ scale = priv->max_arr; /* below resolution, use max scale */
}
if (psc && scale > 1) {