diff options
| author | Cezary Rojewski <cezary.rojewski@intel.com> | 2026-09-02 10:18:08 +0200 |
|---|---|---|
| committer | Mark Brown <broonie@kernel.org> | 2026-09-03 22:51:34 +0100 |
| commit | 559ea14b7ae7c7562b48759fa545b64958f35b73 (patch) | |
| tree | e5553937a3d3c1dbf084582e55e5f9a88517ee00 /scripts/Makefile.thinlto | |
| parent | ce4d7356660ab7f8fd7c3119c16fef5c9b9adec9 (diff) | |
| download | linux-next-559ea14b7ae7c7562b48759fa545b64958f35b73.tar.gz linux-next-559ea14b7ae7c7562b48759fa545b64958f35b73.zip | |
ASoC: Intel: avs: Clean up the bus when fetching ML caps fails
snd_hdac_ext_bus_get_ml_capabilities() may fail and its return code
shall be checked and accounted for. Address the issue by updating the
error-path for avs_pci_probe().
At the same time, if the function in question succeeds but the next part
of avs_pci_probe() fails, the hlink list shall be cleaned up before
leaving the scope.
Fixes: 1affc44ea5dd ("ASoC: Intel: avs: PCI driver implementation")
Co-developed-by: Amadeusz Sławiński <amade@asmblr.net>
Signed-off-by: Amadeusz Sławiński <amade@asmblr.net>
Signed-off-by: Cezary Rojewski <cezary.rojewski@intel.com>
Link: https://patch.msgid.link/20260902081814.1590883-5-cezary.rojewski@intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions
