[PATCH] ALSA: hda/realtek: fix bad indentation for alc269

Lei Huang posted 1 patch 2 days, 12 hours ago
There is a newer version of this series
sound/hda/codecs/realtek/alc269.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
[PATCH] ALSA: hda/realtek: fix bad indentation for alc269
Posted by Lei Huang 2 days, 12 hours ago
From: Lei Huang <huanglei@kylinos.cn>

Mention complains about this coding style:

  ERROR: code indent should use tabs where possible
  #6640: FILE: sound/hda/codecs/realtek/alc269.c:6640:
  +        [ALC233_FIXUP_LENOVO_GPIO2_MIC_HOTKEY] = {$

fix it up.

Signed-off-by: Lei Huang <huanglei@kylinos.cn>
---
 sound/hda/codecs/realtek/alc269.c | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/sound/hda/codecs/realtek/alc269.c b/sound/hda/codecs/realtek/alc269.c
index b6a58852752a..09af4d378b30 100644
--- a/sound/hda/codecs/realtek/alc269.c
+++ b/sound/hda/codecs/realtek/alc269.c
@@ -6637,10 +6637,10 @@ static const struct hda_fixup alc269_fixups[] = {
 		.type = HDA_FIXUP_FUNC,
 		.v.func = alc288_fixup_surface_swap_dacs,
 	},
-        [ALC233_FIXUP_LENOVO_GPIO2_MIC_HOTKEY] = {
-                .type = HDA_FIXUP_FUNC,
-                .v.func = alc233_fixup_lenovo_gpio2_mic_hotkey,
-        },
+	[ALC233_FIXUP_LENOVO_GPIO2_MIC_HOTKEY] = {
+		.type = HDA_FIXUP_FUNC,
+		.v.func = alc233_fixup_lenovo_gpio2_mic_hotkey,
+	},
 	[ALC245_FIXUP_BASS_HP_DAC] = {
 		.type = HDA_FIXUP_FUNC,
 		/* Borrow the DAC routing selected for those Thinkpads */
-- 
2.25.1
Re: [PATCH] ALSA: hda/realtek: fix bad indentation for alc269
Posted by Takashi Iwai 2 days, 11 hours ago
On Mon, 30 Mar 2026 14:53:33 +0200,
Lei Huang wrote:
> 
> From: Lei Huang <huanglei@kylinos.cn>
> 
> Mention complains about this coding style:
> 
>   ERROR: code indent should use tabs where possible
>   #6640: FILE: sound/hda/codecs/realtek/alc269.c:6640:
>   +        [ALC233_FIXUP_LENOVO_GPIO2_MIC_HOTKEY] = {$
> 
> fix it up.
> 
> Signed-off-by: Lei Huang <huanglei@kylinos.cn>

Could you try to pinpoint the introducing commit with Fixes tag?


thanks,

Takashi
Re: [PATCH] ALSA: hda/realtek: fix bad indentation for alc269
Posted by Krzysztof Kozlowski 14 hours ago
On 30/03/2026 15:41, Takashi Iwai wrote:
> On Mon, 30 Mar 2026 14:53:33 +0200,
> Lei Huang wrote:
>>
>> From: Lei Huang <huanglei@kylinos.cn>
>>
>> Mention complains about this coding style:
>>
>>   ERROR: code indent should use tabs where possible
>>   #6640: FILE: sound/hda/codecs/realtek/alc269.c:6640:
>>   +        [ALC233_FIXUP_LENOVO_GPIO2_MIC_HOTKEY] = {$
>>
>> fix it up.
>>
>> Signed-off-by: Lei Huang <huanglei@kylinos.cn>
> 
> Could you try to pinpoint the introducing commit with Fixes tag?

Nothing to be fixed here. This is coding style. Coding style has
absolutely zero effect on working code thus it is not a bug.

Best regards,
Krzysztof