diff options
author | Fabio Estevam <fabio.estevam@nxp.com> | 2018-02-26 15:55:25 -0300 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2018-02-26 19:59:31 +0000 |
commit | b84acf44d5b86597cebcb6aca16e7dd9ca2b0294 (patch) | |
tree | 29cf101933d34eaa8418f98e150e927805cc42d2 /include | |
parent | 78648092ef46255e6dc6685202164199c86cf930 (diff) | |
download | linux-b84acf44d5b86597cebcb6aca16e7dd9ca2b0294.tar.bz2 |
ASoC: Revert "ASoC: soc-generic-dmaengine-pcm: Fix error handling"
This reverts commit f91b1e73ccde71d4bc69ae10d475196df38844ab.
As explained by Lars-Peter Clausen:
"This creates a resource leak. dmaengine_pcm_request_chan_of() requests
bothtransmit and receive channels. It might return with an error if one
of them fails, but the other one succeeded. In this case we need to call
dmaengine_pcm_release_chan() to free the requested channel"
So revert the commit.
Signed-off-by: Fabio Estevam <fabio.estevam@nxp.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions