summaryrefslogtreecommitdiffstats
path: root/include/sound/dmaengine_pcm.h
diff options
context:
space:
mode:
authorFabio Estevam <fabio.estevam@nxp.com>2018-02-26 15:55:25 -0300
committerMark Brown <broonie@kernel.org>2018-02-26 19:59:31 +0000
commitb84acf44d5b86597cebcb6aca16e7dd9ca2b0294 (patch)
tree29cf101933d34eaa8418f98e150e927805cc42d2 /include/sound/dmaengine_pcm.h
parent78648092ef46255e6dc6685202164199c86cf930 (diff)
downloadlinux-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/sound/dmaengine_pcm.h')
0 files changed, 0 insertions, 0 deletions