]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
ALSA: hda/realtek: Fix code style error
authorsongxiebing <songxiebing@kylinos.cn>
Sun, 5 Apr 2026 01:42:08 +0000 (09:42 +0800)
committerTakashi Iwai <tiwai@suse.de>
Mon, 6 Apr 2026 08:42:09 +0000 (10:42 +0200)
Output of checkpatch shows error:
ERROR: else should follow close brace '}'
2168: FILE: sound/hda/codecs/realtek/realtek.c:2168:
+ }
+ else

So fix it.

Signed-off-by: songxiebing <songxiebing@kylinos.cn>
Link: https://patch.msgid.link/20260405014208.167364-1-songxiebing@kylinos.cn
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/hda/codecs/realtek/realtek.c

index aad265c0a5b6114a7493efdcb68af92ae14422d1..b240f13b043872b90898467546f690694bc7a7a1 100644 (file)
@@ -2164,8 +2164,7 @@ void alc_fixup_headset_mode_no_hp_mic(struct hda_codec *codec,
        if (action == HDA_FIXUP_ACT_PRE_PROBE) {
                struct alc_spec *spec = codec->spec;
                spec->parse_flags |= HDA_PINCFG_HEADSET_MIC;
-       }
-       else
+       } else
                alc_fixup_headset_mode(codec, fix, action);
 }
 EXPORT_SYMBOL_NS_GPL(alc_fixup_headset_mode_no_hp_mic, "SND_HDA_CODEC_REALTEK");