Skip to content

Commit 550033f

Browse files
committed
ALSA: hda/realtek: Simplify with str_yes_no()
Use the standard helper for simplifying the code. Merely cleanup, no behavior change. Link: https://patch.msgid.link/20250109162318.9172-2-tiwai@suse.de Signed-off-by: Takashi Iwai <tiwai@suse.de>
1 parent 2be952e commit 550033f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

sound/pci/hda/patch_realtek.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5900,7 +5900,7 @@ static void alc_determine_headset_type(struct hda_codec *codec)
59005900
}
59015901

59025902
codec_dbg(codec, "Headset jack detected iPhone-style headset: %s\n",
5903-
is_ctia ? "yes" : "no");
5903+
str_yes_no(is_ctia));
59045904
spec->current_headset_type = is_ctia ? ALC_HEADSET_TYPE_CTIA : ALC_HEADSET_TYPE_OMTP;
59055905
}
59065906

0 commit comments

Comments
 (0)