Home
last modified time | relevance | path

Searched hist:"21585 ee848078b12d0d1a513e93936bf96b444a0" (Results 1 – 2 of 2) sorted by relevance

/linux/sound/soc/
H A Dsoc-devres.cdiff 21585ee848078b12d0d1a513e93936bf96b444a0 Thu Nov 28 08:50:32 CET 2013 Lars-Peter Clausen <lars@metafoo.de> 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>
/linux/include/sound/
H A Ddmaengine_pcm.hdiff 21585ee848078b12d0d1a513e93936bf96b444a0 Thu Nov 28 08:50:32 CET 2013 Lars-Peter Clausen <lars@metafoo.de> 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>