Skip to content

Commit e23cba0

Browse files
Ansueldlezcano
authored andcommitted
thermal/drivers/airoha: Fix spelling mistake
Fix various spelling mistake in airoha_thermal_setup_monitor() and define. Reported-by: Alok Tiwari <alok.a.tiwari@oracle.com> Signed-off-by: Christian Marangi <ansuelsmth@gmail.com> Link: https://lore.kernel.org/r/20250514213919.2321490-1-ansuelsmth@gmail.com Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
1 parent 04b31cc commit e23cba0

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

drivers/thermal/airoha_thermal.c

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,7 @@
155155
* Can operate in:
156156
* - 1 sample
157157
* - 2 sample and make average of them
158-
* - 4,6,10,16 sample, drop max and min and make avgerage of them
158+
* - 4,6,10,16 sample, drop max and min and make average of them
159159
*/
160160
#define EN7581_MSRCTL_1SAMPLE 0x0
161161
#define EN7581_MSRCTL_AVG2SAMPLE 0x1
@@ -365,12 +365,12 @@ static void airoha_thermal_setup_monitor(struct airoha_thermal_priv *priv)
365365
/*
366366
* Configure ADC valid reading addr
367367
* The AHB temp monitor system doesn't have direct access to the
368-
* thermal sensor. It does instead work by providing all kind of
369-
* address to configure how to access and setup an ADC for the
368+
* thermal sensor. It does instead work by providing various
369+
* addresses to configure how to access and setup an ADC for the
370370
* sensor. EN7581 supports only one sensor hence the
371371
* implementation is greatly simplified but the AHB supports
372-
* up to 4 different sensor from the same ADC that can be
373-
* switched by tuning the ADC mux or wiriting address.
372+
* up to 4 different sensors from the same ADC that can be
373+
* switched by tuning the ADC mux or writing address.
374374
*
375375
* We set valid instead of volt as we don't enable valid/volt
376376
* split reading and AHB read valid addr in such case.

0 commit comments

Comments
 (0)