[PATCH] platform: x86: fix typos in comments

Hemanth Selam posted 1 patch 3 weeks ago
There is a newer version of this series
drivers/platform/x86/lenovo/thinkpad_acpi.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
[PATCH] platform: x86: fix typos in comments
Posted by Hemanth Selam 3 weeks ago
Fix typos in comments, reported by scripts/checkpatch.pl using the
misspelling list in scripts/spelling.txt.  Only touches comments, no code
changes.

Assisted-by: Cursor:claude-opus-5
Signed-off-by: Hemanth Selam <hemanth.selam@gmail.com>
---
 drivers/platform/x86/lenovo/thinkpad_acpi.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/drivers/platform/x86/lenovo/thinkpad_acpi.c b/drivers/platform/x86/lenovo/thinkpad_acpi.c
index 1661f070c571..bfb292e727c4 100644
--- a/drivers/platform/x86/lenovo/thinkpad_acpi.c
+++ b/drivers/platform/x86/lenovo/thinkpad_acpi.c
@@ -7069,7 +7069,7 @@ static bool software_mute_active;
 static int software_mute_orig_mode;
 
 /*
- * Used to syncronize writers to TP_EC_AUDIO and
+ * Used to synchronize writers to TP_EC_AUDIO and
  * TP_NVRAM_ADDR_MIXER, as we need to do read-modify-write
  */
 static struct mutex volume_mutex;
@@ -7262,7 +7262,7 @@ static int volume_set_software_mute(bool startup)
 
 	/*
 	 * In software mute mode, the standard codec controls take
-	 * precendence, so we unmute the ThinkPad HW switch at
+	 * precedence, so we unmute the ThinkPad HW switch at
 	 * startup.  Just on case there are SAUM-capable ThinkPads
 	 * with level controls, set max HW volume as well.
 	 */
@@ -7981,7 +7981,7 @@ TPACPI_HANDLE(fanw, ec, "FANW",	/* E531 */
 	   );			/* all others */
 
 /*
- * Unitialized HFSP quirk: ACPI DSDT and EC fail to initialize the
+ * Uninitialized HFSP quirk: ACPI DSDT and EC fail to initialize the
  * HFSP register at boot, so it contains 0x07 but the Thinkpad could
  * be in auto mode (0x80).
  *
-- 
2.48.1
Re: [PATCH] platform: x86: fix typos in comments
Posted by Mark Pearson 3 weeks ago
On Fri, Sep 4, 2026, at 7:36 AM, Hemanth Selam wrote:
> Fix typos in comments, reported by scripts/checkpatch.pl using the
> misspelling list in scripts/spelling.txt.  Only touches comments, no code
> changes.
>
> Assisted-by: Cursor:claude-opus-5
> Signed-off-by: Hemanth Selam <hemanth.selam@gmail.com>
> ---
>  drivers/platform/x86/lenovo/thinkpad_acpi.c | 6 +++---
>  1 file changed, 3 insertions(+), 3 deletions(-)
>
> diff --git a/drivers/platform/x86/lenovo/thinkpad_acpi.c 
> b/drivers/platform/x86/lenovo/thinkpad_acpi.c
> index 1661f070c571..bfb292e727c4 100644
> --- a/drivers/platform/x86/lenovo/thinkpad_acpi.c
> +++ b/drivers/platform/x86/lenovo/thinkpad_acpi.c
> @@ -7069,7 +7069,7 @@ static bool software_mute_active;
>  static int software_mute_orig_mode;
> 
>  /*
> - * Used to syncronize writers to TP_EC_AUDIO and
> + * Used to synchronize writers to TP_EC_AUDIO and
>   * TP_NVRAM_ADDR_MIXER, as we need to do read-modify-write
>   */
>  static struct mutex volume_mutex;
> @@ -7262,7 +7262,7 @@ static int volume_set_software_mute(bool startup)
> 
>  	/*
>  	 * In software mute mode, the standard codec controls take
> -	 * precendence, so we unmute the ThinkPad HW switch at
> +	 * precedence, so we unmute the ThinkPad HW switch at
>  	 * startup.  Just on case there are SAUM-capable ThinkPads
>  	 * with level controls, set max HW volume as well.
>  	 */
> @@ -7981,7 +7981,7 @@ TPACPI_HANDLE(fanw, ec, "FANW",	/* E531 */
>  	   );			/* all others */
> 
>  /*
> - * Unitialized HFSP quirk: ACPI DSDT and EC fail to initialize the
> + * Uninitialized HFSP quirk: ACPI DSDT and EC fail to initialize the
>   * HFSP register at boot, so it contains 0x07 but the Thinkpad could
>   * be in auto mode (0x80).
>   *
> -- 
> 2.48.1
All good.
Reviewed-by: Mark Pearson <mpearson-lenovo@squebb.ca>
Mark