diff options
author | Julia Lawall <Julia.Lawall@inria.fr> | 2020-04-05 18:03:48 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2020-04-17 17:13:49 +0300 |
commit | 724170c2df5b4a21ad41c911b9b0594e10c47a43 (patch) | |
tree | ce8aee0c0a475b84d9347c4448072c41faaeea51 /Makefile | |
parent | b5887920dbe9777858fe02cf56e75a1142a40d09 (diff) | |
download | linux-724170c2df5b4a21ad41c911b9b0594e10c47a43.tar.xz |
ASoC: stm32: sai: Add missing cleanup
[ Upstream commit 7506baeed8d05fc164254c64af14cfed2ac14446 ]
The commit 0d6defc7e0e4 ("ASoC: stm32: sai: manage rebind issue")
converts some function calls to their non-devm equivalents. The
appropriate cleanup code was added to the remove function, but not
to the probe function. Add a call to snd_dmaengine_pcm_unregister
to compensate for the call to snd_dmaengine_pcm_register in case
of subsequent failure.
Fixes: commit 0d6defc7e0e4 ("ASoC: stm32: sai: manage rebind issue")
Signed-off-by: Julia Lawall <Julia.Lawall@inria.fr>
Acked-by: Olivier Moysan <olivier.moysan@st.com>
Link: https://lore.kernel.org/r/1586099028-5104-1-git-send-email-Julia.Lawall@inria.fr
Signed-off-by: Mark Brown <broonie@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'Makefile')
0 files changed, 0 insertions, 0 deletions