ALSA: sb8: add a check for request_region
Kangjie Lu authored
[ Upstream commit dcd0feac

 ]

In case request_region fails, the fix returns an error code to
avoid NULL pointer dereference.
Signed-off-by: default avatarKangjie Lu <kjlu@umn.edu>
Signed-off-by: default avatarTakashi Iwai <tiwai@suse.de>
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
5e6e33fd
Name Last commit Last update
..
ad1816a ALSA: Include linux/io.h instead of asm/io.h
ad1848 ALSA: ad1848: Utilize the module_isa_driver macro
cs423x ALSA: cs4231: Utilize the module_isa_driver macro
es1688 ALSA: Include linux/io.h instead of asm/io.h
galaxy ALSA: galaxy: Utilize the module_isa_driver macro
gus ALSA: gusclassic: Utilize the module_isa_driver macro
msnd ALSA: msnd: Fix the default sample sizes
opti9xx ALSA: Include linux/io.h instead of asm/io.h
sb ALSA: sb8: add a check for request_region
wavefront ALSA: isa/wavefront: prevent some out of bound writes
wss ALSA: wss: Fix invalid snd_free_pages() at error path
Kconfig ALSA: Add missing dependency on CONFIG_SND_TIMER
Makefile ALSA: introduce snd-cmi8328: C-Media CMI8328 driver
adlib.c ALSA: adlib: Utilize the module_isa_driver macro
als100.c ASoC: sb16: Simplify snd_sb16dsp_pcm()
azt2320.c ALSA: Include linux/io.h instead of asm/io.h
cmi8328.c ALSA: cmi8328: Utilize the module_isa_driver macro
cmi8330.c ALSA: isa: Convert to snd_card_new() with a device pointer
es18xx.c ALSA: Include linux/io.h instead of asm/io.h
opl3sa2.c ALSA: Include linux/io.h instead of asm/io.h
sc6000.c ALSA: sc6000: Utilize the module_isa_driver macro
sscape.c ALSA: sscape: Use correct format identifier for size_t