projects
/
linux-2.6-microblaze.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9551af2
)
ALSA: hda/realtek: Fix code style error
author
songxiebing
<songxiebing@kylinos.cn>
Sun, 5 Apr 2026 01:42:08 +0000
(09:42 +0800)
committer
Takashi 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
patch
|
blob
|
history
diff --git
a/sound/hda/codecs/realtek/realtek.c
b/sound/hda/codecs/realtek/realtek.c
index
aad265c
..
b240f13
100644
(file)
--- a/
sound/hda/codecs/realtek/realtek.c
+++ b/
sound/hda/codecs/realtek/realtek.c
@@
-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");