]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
ALSA: ctxfi: Use explicit output flag for DAIO resources
authorHarin Lee <me@harin.net>
Mon, 24 Nov 2025 18:04:58 +0000 (03:04 +0900)
committerTakashi Iwai <tiwai@suse.de>
Tue, 25 Nov 2025 07:02:16 +0000 (08:02 +0100)
commit9bb003a1f98b11b80238d522778115ad07355149
treea6e3ca6426b378cc0e7879387b3e9659d5908330
parent4b490e0d103cbd353bb136d67a6cdb0e94558a85
ALSA: ctxfi: Use explicit output flag for DAIO resources

Replace the index-based type check with an explicit output flag in
struct daio and struct daio_desc.

This allows handling DAIO resource types correctly regardless of their
index. This is necessary for hardware variants where resource types do
not follow a sequential order.

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