OpenCloudOS-Kernel/sound/isa/gus
Christophe JAILLET b0f3c6a2d0 ALSA: gus: Fix some error handling paths related to get_bpos() usage
[ Upstream commit 9df39a872c462ea07a3767ebd0093c42b2ff78a2 ]

If get_bpos() fails, it is likely that the corresponding error code should
be returned.

Fixes: a6970bb1dd ("ALSA: gus: Convert to the new PCM ops")
Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Link: https://patch.msgid.link/d9ca841edad697154afa97c73a5d7a14919330d9.1727984008.git.christophe.jaillet@wanadoo.fr
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2024-10-10 11:57:20 +02:00
..
Makefile License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
gus_dma.c ALSA: gus: fix null pointer dereference on pointer block 2021-10-26 08:02:16 +02:00
gus_dram.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 156 2019-05-30 11:26:35 -07:00
gus_io.c ALSA: gus: More constifications 2020-01-05 16:15:03 +01:00
gus_irq.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 156 2019-05-30 11:26:35 -07:00
gus_main.c ALSA: gus: Fix repeated probes of snd_gus_create() 2021-09-07 11:40:07 +02:00
gus_mem.c ALSA: gus: Fix memory leaks at memory allocator error paths 2021-12-13 16:41:12 +01:00
gus_mem_proc.c ALSA: info: Make snd_info_entry_ops as const 2020-01-03 09:24:18 +01:00
gus_mixer.c ALSA: gus: Fix assignment in if condition 2021-06-09 17:29:39 +02:00
gus_pcm.c ALSA: gus: Fix some error handling paths related to get_bpos() usage 2024-10-10 11:57:20 +02:00
gus_reset.c ALSA: isa/gus: remove -Wmissing-prototypes warnings 2020-07-07 11:59:59 +02:00
gus_tables.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 156 2019-05-30 11:26:35 -07:00
gus_timer.c ALSA: Constify snd_timer_hardware definitions 2020-01-03 09:24:07 +01:00
gus_uart.c ALSA: gus: Fix assignment in if condition 2021-06-09 17:29:39 +02:00
gus_volume.c ALSA: gus: More constifications 2020-01-05 16:15:03 +01:00
gusclassic.c ALSA: gus: Allocate resources with device-managed APIs 2021-07-19 16:17:22 +02:00
gusextreme.c ALSA: gus: Allocate resources with device-managed APIs 2021-07-19 16:17:22 +02:00
gusmax.c ALSA: gus: Allocate resources with device-managed APIs 2021-07-19 16:17:22 +02:00
interwave-stb.c
interwave.c ALSA: gus: Fix repeated probe for ISA interwave card 2021-09-07 11:40:08 +02:00