mirror-linux/sound/drivers
Takashi Iwai 2724fbc90e Revert "ALSA: pcmtest: fix reference leak on failed device registration"
We'd like to address the problem rather in the error code path of
platform_device_register() itself instead of leaving it all callers,
since less than 1% of all callers of over 100
platform_device_register() do call platform_device_put() properly as
of now.

For making the work easier, revert the previous change commit
4ff036f952 ("ALSA: pcmtest: fix reference leak on failed device
registration") again.

Link: https://lore.kernel.org/20260415193138.3861297-1-lgs201920130244@gmail.com
Link: https://patch.msgid.link/20260423075211.3977366-1-tiwai@suse.de
Signed-off-by: Takashi Iwai <tiwai@suse.de>
2026-04-23 10:57:53 +02:00
..
mpu401 Convert 'alloc_obj' family to use the new default GFP_KERNEL argument 2026-02-21 17:09:51 -08:00
opl3 Convert 'alloc_obj' family to use the new default GFP_KERNEL argument 2026-02-21 17:09:51 -08:00
opl4 Convert 'alloc_obj' family to use the new default GFP_KERNEL argument 2026-02-21 17:09:51 -08:00
pcsp ALSA: pcsp: Use safer strscpy() instead of strcpy() 2025-07-11 09:51:09 +02:00
vx ALSA: vx: use correct function name in kernel-doc comment 2026-04-17 09:48:20 +02:00
Kconfig ALSA: Make SND_PCMTEST depend on DEBUG_FS 2023-08-18 09:10:22 +02:00
Makefile ALSA: drivers: Use *-y instead of *-objs in Makefile 2024-05-08 18:17:57 +02:00
aloop.c ALSA: aloop: Fix racy access at PCM trigger 2026-02-03 15:22:21 +01:00
dummy.c Convert 'alloc_obj' family to use the new default GFP_KERNEL argument 2026-02-21 17:09:51 -08:00
mtpav.c ALSA: mtpav: Use guard() for spin locks 2025-09-01 13:53:35 +02:00
mts64.c Convert 'alloc_obj' family to use the new default GFP_KERNEL argument 2026-02-21 17:09:51 -08:00
pcmtest.c Revert "ALSA: pcmtest: fix reference leak on failed device registration" 2026-04-23 10:57:53 +02:00
portman2x4.c Convert 'alloc_obj' family to use the new default GFP_KERNEL argument 2026-02-21 17:09:51 -08:00
serial-generic.c ALSA: serial-generic: remove shared static buffer 2025-09-15 12:33:53 +02:00
serial-u16550.c ALSA: serial-u16550: Use guard() for spin locks 2025-09-01 13:53:35 +02:00
virmidi.c ALSA: virmidi: Use safer strscpy() instead of strcpy() 2025-07-11 09:51:09 +02:00