linux-stable/sound/soc/fsl
Uwe Kleine-König 9c4d8f48ac
ASoC: fsl: mpc8610_hpcd: 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 (mostly) ignored
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.

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>
Acked-by: Takashi Iwai <tiwai@suse.de>
Acked-by: Nicolas Ferre <nicolas.ferre@microchip.com>
Link: https://lore.kernel.org/r/20230315150745.67084-82-u.kleine-koenig@pengutronix.de
Signed-off-by: Mark Brown <broonie@kernel.org>
2023-03-20 13:08:12 +00:00
..
efika-audio-fabric.c
eukrea-tlv320.c ASoC: fsl: eukrea-tlv320: Convert to platform remove callback returning void 2023-03-20 13:07:56 +00:00
fsl-asoc-card.c There is no particular theme here - mainly quick hits all over the tree. 2023-02-23 17:55:40 -08:00
fsl_asrc.c ASoC: fsl: fsl_asrc: Convert to platform remove callback returning void 2023-03-20 13:07:56 +00:00
fsl_asrc.h ASoC: fsl_asrc: Move common definition to fsl_asrc_common 2020-04-21 16:34:09 +01:00
fsl_asrc_common.h ASoC: fsl_asrc_dma: Fix data copying speed issue with EDMA 2020-06-12 14:18:04 +01:00
fsl_asrc_dma.c ASoC: fsl_asrc_dma: fully initialize structs 2022-09-23 17:54:14 +01:00
fsl_aud2htx.c ASoC: fsl: fsl_aud2htx: Convert to platform remove callback returning void 2023-03-20 13:07:57 +00:00
fsl_aud2htx.h ASoC: fsl_aud2htx: Add aud2htx module driver 2020-11-05 17:06:16 +00:00
fsl_audmix.c ASoC: fsl: fsl_audmix: Convert to platform remove callback returning void 2023-03-20 13:07:58 +00:00
fsl_audmix.h
fsl_dma.c ASoC: fsl: fsl_dma: Convert to platform remove callback returning void 2023-03-20 13:07:59 +00:00
fsl_dma.h
fsl_easrc.c ASoC: fsl: fsl_easrc: Convert to platform remove callback returning void 2023-03-20 13:08:00 +00:00
fsl_easrc.h ASoC: fsl_easrc: use snd_pcm_format_t type for sample_format 2022-07-21 13:38:51 +01:00
fsl_esai.c ASoC: fsl: fsl_esai: Convert to platform remove callback returning void 2023-03-20 13:08:01 +00:00
fsl_esai.h
fsl_micfil.c ASoC: fsl_micfil: Correct the number of steps on SX controls 2023-01-05 16:06:52 +00:00
fsl_micfil.h ASoC: fsl_micfil: Add Hardware Voice Activity Detector support 2022-10-17 12:48:25 +01:00
fsl_mqs.c ASoC: fsl: fsl_mqs: Convert to platform remove callback returning void 2023-03-20 13:08:02 +00:00
fsl_qmc_audio.c ASoC: fsl: Add support for QMC audio 2023-03-05 23:37:10 +00:00
fsl_rpmsg.c ASoC: fsl: fsl_rpmsg: Convert to platform remove callback returning void 2023-03-20 13:08:03 +00:00
fsl_rpmsg.h ASoC: fsl_rpmsg: add soc specific data structure 2021-09-13 01:59:15 +01:00
fsl_sai.c ASoC: fsl: fsl_sai: Convert to platform remove callback returning void 2023-03-20 13:08:04 +00:00
fsl_sai.h ASoC: fsl_sai: Specify the maxburst to 8 on i.MX93 platform 2022-10-28 10:46:53 +01:00
fsl_spdif.c ASoC: fsl: fsl_spdif: Convert to platform remove callback returning void 2023-03-20 13:08:05 +00:00
fsl_spdif.h ASoC: fsl_spdif: Add new registers included on i.MX8ULP 2022-03-17 18:00:14 +00:00
fsl_ssi.c ASoC: fsl: fsl_ssi: Convert to platform remove callback returning void 2023-03-20 13:08:06 +00:00
fsl_ssi.h
fsl_ssi_dbg.c ASoC: fsl: fsl_ssi_dbg: remove spurious kernel-doc comment start 2020-07-03 16:09:24 +01:00
fsl_utils.c ASoC: fsl: fsl-utils: remove useless assignment 2022-08-31 12:13:03 +01:00
fsl_utils.h ASoC: fsl_utils: Add function to handle PLL clock source 2022-07-05 13:00:37 +01:00
fsl_xcvr.c ASoC: fsl: fsl_xcvr: Convert to platform remove callback returning void 2023-03-20 13:08:07 +00:00
fsl_xcvr.h ASoC: fsl_xcvr: Add support for i.MX93 platform 2023-01-09 13:04:22 +00:00
imx-audio-rpmsg.c ASoC: imx-audio-rpmsg: Create rpmsg channel for MICFIL 2022-10-17 12:48:13 +01:00
imx-audmix.c ASoC: fsl: Update to use set_fmt_new callback 2022-06-06 12:33:32 +01:00
imx-audmux.c ASoC: fsl: imx-audmux: Convert to platform remove callback returning void 2023-03-20 13:08:08 +00:00
imx-audmux.h
imx-card.c ASoC: Use of_property_read_bool() for boolean properties 2023-03-11 12:18:55 +00:00
imx-es8328.c ASoC: soc-card: Create jack kcontrol without pins 2022-04-14 17:37:21 +01:00
imx-hdmi.c ASoC: imx-hdmi: Use dev_err_probe 2023-01-28 10:51:04 +00:00
imx-pcm-dma.c ASoC: fsl: Drop unused argument from imx_pcm_dma_init() 2022-02-28 13:33:57 +00:00
imx-pcm-fiq.c ASoC: fsl: imx-pcm-fiq: Use managed buffer allocation 2021-08-04 08:08:42 +02:00
imx-pcm-rpmsg.c ASoC: fsl: imx-pcm-rpmsg: Convert to platform remove callback returning void 2023-03-20 13:08:09 +00:00
imx-pcm-rpmsg.h ASoC: imx-pcm-rpmsg: Fix warning of incorrect type in assignment 2021-05-10 13:05:38 +01:00
imx-pcm.h ASoC: fsl: Remove unused inline function imx_pcm_dma_params_init_data() 2022-09-23 13:56:25 +01:00
imx-rpmsg.c ASoC: imx-rpmsg: Assign platform driver used by machine driver to link with 2022-10-17 12:48:18 +01:00
imx-sgtl5000.c ASoC: fsl: imx-sgtl5000: Convert to platform remove callback returning void 2023-03-20 13:08:09 +00:00
imx-spdif.c ASoC: fsl: Use dev_err_probe() helper 2021-12-20 12:47:14 +00:00
imx-ssi.h dmaengine: imx: Move header to include/dma/ 2022-04-19 12:06:18 +01:00
Kconfig ASoC: Merge up fixes as a dependency for future SOF work 2023-03-13 14:07:37 +00:00
Makefile ASoC: fsl: Add support for QMC audio 2023-03-05 23:37:10 +00:00
mpc5200_dma.c ASoC: mpc5200: Use managed buffer allocation 2021-08-04 08:09:16 +02:00
mpc5200_dma.h
mpc5200_psc_ac97.c ASoC: fsl: mpc5200_psc_ac97: Convert to platform remove callback returning void 2023-03-20 13:08:10 +00:00
mpc5200_psc_i2s.c ASoC: fsl: mpc5200_psc_i2s: Convert to platform remove callback returning void 2023-03-20 13:08:11 +00:00
mpc8610_hpcd.c ASoC: fsl: mpc8610_hpcd: Convert to platform remove callback returning void 2023-03-20 13:08:12 +00:00
p1022_ds.c ASoC: pl1022_ds: Update to modern clocking terminology 2021-09-22 13:23:30 +01:00
p1022_rdk.c ASoC: pl1022_rdk: Update to modern clocking terminology 2021-09-22 13:23:31 +01:00
pcm030-audio-fabric.c ASoC: fsl: pcm030-audio-fabric: use platform_device_unregsiter() 2022-07-04 12:44:17 +01:00