[PATCH -next] ALSA: fm801: Fix missing pci_release_regions() on error in snd_fm801_create()

Takashi Iwai tiwai at suse.de
Wed Jun 16 08:50:59 CEST 2021


On Wed, 16 Jun 2021 04:55:07 +0200,
Yang Yingliang wrote:
> 
> Fix the missing pci_release_regions() before return
> from snd_fm801_create() in the error handling case.
> 
> Reported-by: Hulk Robot <hulkci at huawei.com>
> Signed-off-by: Yang Yingliang <yangyingliang at huawei.com>

pci_regions() is manated in pcim_release(), hence you don't need to
call it explicitly.


thanks,

Takashi


More information about the Alsa-devel mailing list