]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
ALSA: hda/realtek: fix code style (ERROR: else should follow close brace '}')
authorLei Huang <huanglei@kylinos.cn>
Tue, 31 Mar 2026 07:54:05 +0000 (15:54 +0800)
committerTakashi Iwai <tiwai@suse.de>
Tue, 31 Mar 2026 08:20:19 +0000 (10:20 +0200)
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>
Link: https://patch.msgid.link/20260331075405.78148-1-huanglei814@163.com
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/hda/codecs/realtek/alc269.c

index cb7b2dd107b5fb447d970178b2a6b775330f23a4..bf837c6480f3ede1a365c082f1740b43d320e844 100644 (file)
@@ -2270,9 +2270,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,