linux-mainline/sound
Greg Kroah-Hartman 2da441a649 ASoC: cs43130: handle errors in cs43130_probe() properly
cs43130_probe() does not do any valid error checking of things it
initializes, OR what it does, it does not unwind properly if there are
errors.

Fix this up by moving the sysfs files to an attribute group so the
driver core will correctly add/remove them all at once and handle errors
with them, and correctly check for creating a new workqueue and
unwinding if that fails.

Cc: Mark Brown <broonie@kernel.org>
Link: https://lore.kernel.org/r/20210503115736.2104747-58-gregkh@linuxfoundation.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2021-05-13 18:32:38 +02:00
..
ac97
aoa
arm
atmel
core
drivers
firewire
hda
i2c
isa ALSA: sb8: Add a comment note regarding an unused pointer 2021-05-13 17:33:49 +02:00
mips
oss
parisc
pci ALSA: hda: generic: change the DAC ctl name for LO+SPK or LO+HP 2021-05-06 10:46:36 +02:00
pcmcia
ppc
sh
soc ASoC: cs43130: handle errors in cs43130_probe() properly 2021-05-13 18:32:38 +02:00
sparc
spi
synth
usb Revert "ALSA: usx2y: Fix potential NULL pointer dereference" 2021-05-13 17:33:51 +02:00
virtio ALSA: virtio: fix kernel-doc 2021-04-27 08:39:39 +02:00
x86
xen
ac97_bus.c
Kconfig
last.c
Makefile
sound_core.c