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

Yang Yingliang yangyingliang at huawei.com
Wed Jun 16 09:02:30 CEST 2021


On 2021/6/16 14:50, Takashi Iwai wrote:
> 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.
OK.

Thanks,
Yang
>
>
> thanks,
>
> Takashi
> .


More information about the Alsa-devel mailing list