20 Oct
2022
20 Oct
'22
2:20 p.m.
On Wed, 19 Oct 2022 11:30:25 +0200, Yang Yingliang wrote:
If device_register() fails in snd_ac97_dev_register(), it should call put_device() to give up reference, or the name allocated in dev_set_name() is leaked.
Fixes: 0ca06a00e206 ("[ALSA] AC97 bus interface for ad-hoc drivers") Signed-off-by: Yang Yingliang yangyingliang@huawei.com
Thanks, applied.
Takashi