mirror of
https://github.com/torvalds/linux.git
synced 2026-05-25 07:33:19 +02:00
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>
This commit is contained in:
parent
2be952ee5f
commit
550033fd03
|
|
@ -5900,7 +5900,7 @@ static void alc_determine_headset_type(struct hda_codec *codec)
|
|||
}
|
||||
|
||||
codec_dbg(codec, "Headset jack detected iPhone-style headset: %s\n",
|
||||
is_ctia ? "yes" : "no");
|
||||
str_yes_no(is_ctia));
|
||||
spec->current_headset_type = is_ctia ? ALC_HEADSET_TYPE_CTIA : ALC_HEADSET_TYPE_OMTP;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user