]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
ALSA: hda/senary: Use codec->core.afg for GPIO access
authorwangdicheng <wangdicheng@kylinos.cn>
Tue, 3 Mar 2026 05:42:42 +0000 (13:42 +0800)
committerTakashi Iwai <tiwai@suse.de>
Tue, 3 Mar 2026 06:59:47 +0000 (07:59 +0100)
commit83307aebe6a1a4fddf5dec6071716ce251da9cc9
treec1311c3b308de2a24ef0859eacfb7ef8415c81f5
parent93992667d0ab695ac30ceec91a516fd4bf725d75
ALSA: hda/senary: Use codec->core.afg for GPIO access

Replace the hardcoded GPIO node ID (0x01) with codec->core.afg.
This follows the standard HDA driver practice and makes the driver
more robust against different hardware configurations.

Signed-off-by: wangdicheng <wangdicheng@kylinos.cn>
Link: https://patch.msgid.link/20260303054242.318062-1-wangdich9700@163.com
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/hda/codecs/senarytech.c