diff options
| author | Takashi Iwai <tiwai@suse.de> | 2026-03-29 11:12:37 +0200 |
|---|---|---|
| committer | Takashi Iwai <tiwai@suse.de> | 2026-03-29 11:13:42 +0200 |
| commit | b045ab3dff97edae6d538eeff900a34c098761f8 (patch) | |
| tree | bdd1d85d2e29c1628bf0fe37b4340047237853ab /fs/devfs/git@git.tavy.me:linux.git | |
| parent | 1fbf85dbf02c96c318e056fb5b8fc614758fee3c (diff) | |
ALSA: ctxfi: Fix missing SPDIFI1 index handling
SPDIF1 DAIO type isn't properly handled in daio_device_index() for
hw20k2, and it returned -EINVAL, which ended up with the out-of-bounds
array access. Follow the hw20k1 pattern and return the proper index
for this type, too.
Reported-and-tested-by: Karsten Hohmeier <linux@hohmatik.de>
Closes: https://lore.kernel.org/20260315155004.15633-1-linux@hohmatik.de
Cc: <stable@vger.kernel.org>
Link: https://patch.msgid.link/20260329091240.420194-1-tiwai@suse.de
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'fs/devfs/git@git.tavy.me:linux.git')
0 files changed, 0 insertions, 0 deletions
