summaryrefslogtreecommitdiffstats
path: root/sound/soc/soc-generic-dmaengine-pcm.c
diff options
context:
space:
mode:
authorLars-Peter Clausen <lars@metafoo.de>2013-11-28 08:50:32 +0100
committerMark Brown <broonie@linaro.org>2013-11-28 13:35:36 +0000
commit21585ee848078b12d0d1a513e93936bf96b444a0 (patch)
treeb4183e84d23c2ee820192d8183ed6716a7a87c33 /sound/soc/soc-generic-dmaengine-pcm.c
parent6ce4eac1f600b34f2f7f58f9cd8f0503d79e42ae (diff)
downloadblackbird-op-linux-21585ee848078b12d0d1a513e93936bf96b444a0.tar.gz
blackbird-op-linux-21585ee848078b12d0d1a513e93936bf96b444a0.zip
ASoC: Add resource managed snd_dmaengine_pcm_register()
For many drivers using the generic dmaengine PCM driver one of the few (or the only) things left to do in the drivers remove function is to unregister the PCM device. This patch adds a resource managed version of snd_dmaengine_pcm_register() which makes it possible to simplify the remove function as well as the error path in the probe function for those drivers. Signed-off-by: Lars-Peter Clausen <lars@metafoo.de> Signed-off-by: Mark Brown <broonie@linaro.org>
Diffstat (limited to 'sound/soc/soc-generic-dmaengine-pcm.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud