]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
ALSA: hda/realtek: Clean up with snd_hda_codec_set_gpio()
authorTakashi Iwai <tiwai@suse.de>
Thu, 9 Apr 2026 09:38:16 +0000 (11:38 +0200)
committerTakashi Iwai <tiwai@suse.de>
Thu, 9 Apr 2026 10:05:54 +0000 (12:05 +0200)
commitd19ecd85a245a2052a502f72bee83982f535c2e6
tree1f30d5c7a503bd7f0d7881a2a17cf07aff9a1235
parentcd8fd5a0566e0d93fbd408e6b06ca484a78b5ccd
ALSA: hda/realtek: Clean up with snd_hda_codec_set_gpio()

Use a new helper function to clean up the code.

Along with it, make alc_write_gpio() static as well, which is used
only locally in realtek.c.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
Link: https://patch.msgid.link/20260409093826.1317626-4-tiwai@suse.de
sound/hda/codecs/realtek/realtek.c
sound/hda/codecs/realtek/realtek.h