mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-05 07:16:56 +07:00
7c1c1d4a7b
Refactor the dmaengine PCM library to allow the DMA channel to be requested before opening a PCM substream. snd_dmaengine_pcm_open() now expects a DMA channel instead of a filter function and filter parameter as its parameters. snd_dmaengine_pcm_close() is updated to not release the DMA channel. This allows a dmaengine based PCM driver to request its channels before the substream is opened. The patch also introduces two new functions, snd_dmaengine_pcm_open_request_chan() and snd_dmaengine_pcm_close_release_chan(), which have the same signature and behaviour of the old snd_dmaengine_pcm_{open,close}() and internally use the new variants of these functions. All users of snd_dmaengine_pcm_{open,close}() are updated to use snd_dmaengine_pcm_open_request_chan() and snd_dmaengine_pcm_close_release_chan(). Signed-off-by: Lars-Peter Clausen <lars@metafoo.de> Tested-by: Stephen Warren <swarren@nvidia.com> Tested-by: Shawn Guo <shawn.guo@linaro.org> Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com> |
||
---|---|---|
.. | ||
brownstone.c | ||
corgi.c | ||
e740_wm9705.c | ||
e750_wm9705.c | ||
e800_wm9712.c | ||
em-x270.c | ||
hx4700.c | ||
imote2.c | ||
Kconfig | ||
magician.c | ||
Makefile | ||
mioa701_wm9713.c | ||
mmp-pcm.c | ||
mmp-sspa.c | ||
mmp-sspa.h | ||
palm27x.c | ||
poodle.c | ||
pxa2xx-ac97.c | ||
pxa2xx-ac97.h | ||
pxa2xx-i2s.c | ||
pxa2xx-i2s.h | ||
pxa2xx-pcm.c | ||
pxa-ssp.c | ||
pxa-ssp.h | ||
raumfeld.c | ||
saarb.c | ||
spitz.c | ||
tavorevb3.c | ||
tosa.c | ||
ttc-dkb.c | ||
z2.c | ||
zylonite.c |