1
0
Fork 0
mirror of https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git synced 2025-01-24 09:13:20 -05:00
linux/sound
Takashi Iwai f1fae475f1 ALSA: aoa: Fix I2S device accounting
i2sbus_add_dev() is supposed to return the number of probed devices,
i.e. either 1 or 0.  However, i2sbus_add_dev() has one error handling
that returns -ENODEV; this will screw up the accumulation number
counted in the caller, i2sbus_probe().

Fix the return value to 0 and add the comment for better understanding
for readers.

Fixes: f3d9478b2c ("[ALSA] snd-aoa: add snd-aoa")
Link: https://lore.kernel.org/r/20221027065233.13292-1-tiwai@suse.de
Signed-off-by: Takashi Iwai <tiwai@suse.de>
2022-10-27 08:53:08 +02:00
..
ac97
aoa ALSA: aoa: Fix I2S device accounting 2022-10-27 08:53:08 +02:00
arm
atmel
core ALSA: control: add snd_ctl_rename() 2022-10-21 08:17:08 +02:00
drivers
firewire
hda ASoC: Updates for v6.1 2022-10-03 16:30:42 +02:00
i2c
isa
mips
oss
parisc
pci ALSA: rme9652: use explicitly signed char 2022-10-25 15:15:15 +02:00
pcmcia
ppc sound updates for 6.1-rc1 2022-10-05 12:02:07 -07:00
sh
soc ASoC: SOF: Intel: hda-codec: fix possible memory leak in hda_codec_device_init() 2022-10-21 13:04:14 +01:00
sparc
spi
synth ALSA: Use del_timer_sync() before freeing timer 2022-10-27 08:42:08 +02:00
usb ALSA: usb-audio: Add quirks for M-Audio Fast Track C400/600 2022-10-21 14:29:50 +02:00
virtio
x86
xen
ac97_bus.c
Kconfig
last.c
Makefile
sound_core.c