public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] ALSA: hda/realtek: fix code style (ERROR: else should follow close brace '}')
@ 2026-03-31  7:54 Lei Huang
  2026-03-31  8:20 ` Takashi Iwai
  2026-04-01 10:42 ` Krzysztof Kozlowski
  0 siblings, 2 replies; 10+ messages in thread
From: Lei Huang @ 2026-03-31  7:54 UTC (permalink / raw)
  To: perex, tiwai; +Cc: linux-sound, linux-kernel, Lei Huang

From: Lei Huang <huanglei@kylinos.cn>

Fix checkpatch code style errors:

  ERROR: else should follow close brace '}'
  #2300: FILE: sound/hda/codecs/realtek/alc269.c:2300:
  +       }
  +       else

Fixes: 31278997add6 ("ALSA: hda/realtek - Add headset quirk for Dell DT")
Signed-off-by: Lei Huang <huanglei@kylinos.cn>
---
 sound/hda/codecs/realtek/alc269.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/sound/hda/codecs/realtek/alc269.c b/sound/hda/codecs/realtek/alc269.c
index 09af4d378b30..afe13a7f2673 100644
--- a/sound/hda/codecs/realtek/alc269.c
+++ b/sound/hda/codecs/realtek/alc269.c
@@ -2296,9 +2296,9 @@ static void alc_fixup_headset_mode_alc255_no_hp_mic(struct hda_codec *codec,
 		struct alc_spec *spec = codec->spec;
 		spec->parse_flags |= HDA_PINCFG_HEADSET_MIC;
 		alc255_set_default_jack_type(codec);
-	}
-	else
+	} else {
 		alc_fixup_headset_mode(codec, fix, action);
+	}
 }
 
 static void alc288_update_headset_jack_cb(struct hda_codec *codec,
-- 
2.25.1


^ permalink raw reply related	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2026-04-10  8:10 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-03-31  7:54 [PATCH] ALSA: hda/realtek: fix code style (ERROR: else should follow close brace '}') Lei Huang
2026-03-31  8:20 ` Takashi Iwai
2026-04-01 10:43   ` Krzysztof Kozlowski
2026-04-10  7:11     ` Krzysztof Kozlowski
2026-04-10  7:30       ` Takashi Iwai
2026-04-10  7:41         ` Krzysztof Kozlowski
2026-04-10  7:46           ` Takashi Iwai
2026-04-10  8:03             ` Krzysztof Kozlowski
2026-04-10  8:10               ` Takashi Iwai
2026-04-01 10:42 ` Krzysztof Kozlowski

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox