aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2025-01-09 17:23:16 +0100
committerTakashi Iwai <tiwai@suse.de>2025-01-09 17:24:28 +0100
commit550033fd0373986f18f70e3404c0005fd2cdf7cb (patch)
treebb6ed6dc9913a32016dd22015d752cc66c23d2b1
parentALSA: firewire: Simplify with str_on_off() (diff)
downloadwireguard-linux-550033fd0373986f18f70e3404c0005fd2cdf7cb.tar.xz
wireguard-linux-550033fd0373986f18f70e3404c0005fd2cdf7cb.zip
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>
-rw-r--r--sound/pci/hda/patch_realtek.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/pci/hda/patch_realtek.c b/sound/pci/hda/patch_realtek.c
index 1aba06062433..f578b9893a8f 100644
--- a/sound/pci/hda/patch_realtek.c
+++ b/sound/pci/hda/patch_realtek.c
@@ -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;
}