]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
ALSA: ctxfi: Add ADC helper functions for GPIO
authorHarin Lee <me@harin.net>
Mon, 24 Nov 2025 18:04:57 +0000 (03:04 +0900)
committerTakashi Iwai <tiwai@suse.de>
Tue, 25 Nov 2025 07:02:16 +0000 (08:02 +0100)
commit4b490e0d103cbd353bb136d67a6cdb0e94558a85
tree3ad24853a93214d5d096ce57e0457aad99b273bc
parent5ebd054272718334c543998a6d0b77a9846c16d9
ALSA: ctxfi: Add ADC helper functions for GPIO

Add helper functions hw_adc_stop(), hw_adc_start(), and hw_adc_reset()
to encapsulate ADC reset sequence operations. These functions reduce
duplication by centralizing the GPIO-based ADC control logic.

Signed-off-by: Harin Lee <me@harin.net>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Link: https://patch.msgid.link/20251124180501.2760421-3-me@harin.net
sound/pci/ctxfi/cthw20k2.c