45 lines
1.9 KiB
Diff
45 lines
1.9 KiB
Diff
From e23cba0ab49a9cf95e9bc3a86cfbf336b0e285f6 Mon Sep 17 00:00:00 2001
|
|
From: Christian Marangi <ansuelsmth@gmail.com>
|
|
Date: Wed, 14 May 2025 23:39:12 +0200
|
|
Subject: [PATCH] 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>
|
|
---
|
|
drivers/thermal/airoha_thermal.c | 10 +++++-----
|
|
1 file changed, 5 insertions(+), 5 deletions(-)
|
|
|
|
--- a/drivers/thermal/airoha_thermal.c
|
|
+++ b/drivers/thermal/airoha_thermal.c
|
|
@@ -155,7 +155,7 @@
|
|
* Can operate in:
|
|
* - 1 sample
|
|
* - 2 sample and make average of them
|
|
- * - 4,6,10,16 sample, drop max and min and make avgerage of them
|
|
+ * - 4,6,10,16 sample, drop max and min and make average of them
|
|
*/
|
|
#define EN7581_MSRCTL_1SAMPLE 0x0
|
|
#define EN7581_MSRCTL_AVG2SAMPLE 0x1
|
|
@@ -365,12 +365,12 @@ static void airoha_thermal_setup_monitor
|
|
/*
|
|
* Configure ADC valid reading addr
|
|
* The AHB temp monitor system doesn't have direct access to the
|
|
- * thermal sensor. It does instead work by providing all kind of
|
|
- * address to configure how to access and setup an ADC for the
|
|
+ * thermal sensor. It does instead work by providing various
|
|
+ * addresses to configure how to access and setup an ADC for the
|
|
* sensor. EN7581 supports only one sensor hence the
|
|
* implementation is greatly simplified but the AHB supports
|
|
- * up to 4 different sensor from the same ADC that can be
|
|
- * switched by tuning the ADC mux or wiriting address.
|
|
+ * up to 4 different sensors from the same ADC that can be
|
|
+ * switched by tuning the ADC mux or writing address.
|
|
*
|
|
* We set valid instead of volt as we don't enable valid/volt
|
|
* split reading and AHB read valid addr in such case.
|