linux/sound/soc
Uwe Kleine-König acb5c0b14b
ASoC: amd: ps-sdw-dma: Convert to platform remove callback returning void
The .remove() callback for a platform driver returns an int which makes
many driver authors wrongly assume it's possible to do error handling by
returning an error code. However the value returned is ignored (apart
from emitting a warning) and this typically results in resource leaks.
To improve here there is a quest to make the remove callback return
void. In the first step of this quest all drivers are converted to
.remove_new() which already returns void. Eventually after all drivers
are converted, .remove_new() is renamed to .remove().

Trivially convert this driver from always returning zero in the remove
callback to the void returning variant.

Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Link: https://lore.kernel.org/r/20230707072830.3395789-2-u.kleine-koenig@pengutronix.de
Signed-off-by: Mark Brown <broonie@kernel.org>
2023-07-09 22:47:13 +01:00
..
adi
amd ASoC: amd: ps-sdw-dma: Convert to platform remove callback returning void 2023-07-09 22:47:13 +01:00
apple
atmel ASoC: atmel: use use new trigger ordering method 2023-06-13 12:11:21 +01:00
au1x
bcm
cirrus ASoC: ep93xx: Add OF support 2023-04-12 12:54:23 +01:00
codecs Merge existing fixes from asoc/for-6.5 into new branch 2023-07-09 22:43:21 +01:00
dwc ASoC: dwc: don't assign addr_width for dt configs 2023-06-19 23:29:25 +01:00
fsl ASoC: fsl-asoc-card: Allow passing the number of slots in use 2023-06-21 13:42:51 +01:00
generic ASoC: simple-card.c: use snd_soc_{of_}get_dlc() 2023-06-20 12:49:29 +01:00
google ASoC: Add Google Chameleon v3 i2s driver 2023-05-17 10:37:07 +09:00
hisilicon
img
intel ASoC: Intel: sof_rt5682: Add mtl support RT1019P speaker 2023-06-21 13:42:48 +01:00
jz4740 ASoC: Merge up fixes for CI 2023-05-15 19:55:52 +09:00
kirkwood
loongson ASoC: loongson: fix address space confusion 2023-06-22 18:02:06 +01:00
mediatek ASoC: soc-core.c: add index on snd_soc_of_get_dai_name() 2023-06-20 12:49:22 +01:00
meson ASoC: meson: use snd_soc_{of_}get_dlc() 2023-06-20 12:49:25 +01:00
mxs
pxa
qcom ASoC/soundwire/qdsp6/wcd: fix leaks and probe deferral 2023-07-06 16:03:07 +01:00
rockchip ALSA/ASoC: Convert to platform remove callback 2023-03-21 16:29:48 +00:00
samsung ASoC: samsung: use snd_soc_{of_}get_dlc() 2023-06-20 12:49:26 +01:00
sh ASoC: siu: Add MODULE_FIRMWARE macro 2023-06-13 12:15:12 +01:00
sof Merge existing fixes from asoc/for-6.5 into new branch 2023-07-09 22:43:21 +01:00
spear
sprd
starfive ASoC: starfive: use use new trigger ordering method 2023-06-13 12:11:22 +01:00
sti
stm ASoC: stm32: sai: Use the devm_clk_get_optional() helper 2023-05-22 11:18:55 +01:00
sunxi
tegra ASoC: tegra: Fix ADX byte map 2023-06-29 11:40:27 +01:00
ti ASoC: ti: davinci-mcasp: Use pcm_for_each_format() macro 2023-05-30 13:43:38 +01:00
uniphier
ux500
xilinx
xtensa ASoC: xtensa: xtfpga-i2s: Convert to platform remove callback returning void 2023-03-20 13:09:35 +00:00
Kconfig ASoC: Add support for Loongson I2S controller 2023-06-15 13:53:24 +01:00
Makefile ASoC: Add support for Loongson I2S controller 2023-06-15 13:53:24 +01:00
soc-ac97.c
soc-acpi.c
soc-card.c
soc-component.c ASoC: soc-component: Add notify control helper function 2023-05-15 20:11:17 +09:00
soc-compress.c ASoC: do not include pm_runtime.h if not used 2023-05-23 13:55:55 +01:00
soc-core.c ASoC: core: suppress probe deferral errors 2023-07-06 13:46:32 +01:00
soc-dai.c
soc-dapm.c ASoC: add N cpus to M codecs dai link support 2023-06-13 12:11:15 +01:00
soc-devres.c
soc-generic-dmaengine-pcm.c
soc-jack.c
soc-link.c
soc-ops.c
soc-pcm.c ASoC: Merge fixes due to dependencies 2023-06-16 14:55:20 +01:00
soc-topology-test.c
soc-topology.c ASoC: topology: suppress probe deferral errors 2023-07-06 13:46:31 +01:00
soc-utils-test.c
soc-utils.c ASoC: soc-utils.c: add asoc_dummy_dlc 2023-05-08 08:47:05 +09:00