Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

ASoC: amd: acp: Fix leak in acp_pci_probe()

There needs to be some cleanup on this error path. We can't just
return directly.

Fixes: aaf7a668bb38 ("ASoC: amd: acp: Add new interrupt handle callbacks in acp_common_hw_ops")
Signed-off-by: Dan Carpenter <dan.carpenter@linaro.org>
Link: https://patch.msgid.link/3dad80cb-e177-45aa-97ac-df9c98a47d94@stanley.mountain
Signed-off-by: Mark Brown <broonie@kernel.org>

authored by

Dan Carpenter and committed by
Mark Brown
02026aab 9aa499f2

+1 -1
+1 -1
sound/soc/amd/acp/acp-pci.c
··· 183 183 IRQF_SHARED, "ACP_I2S_IRQ", chip); 184 184 if (ret) { 185 185 dev_err(&pci->dev, "ACP I2S IRQ request failed %d\n", ret); 186 - return ret; 186 + goto de_init; 187 187 } 188 188 189 189 check_acp_config(pci, chip);