summaryrefslogtreecommitdiffstats
path: root/include/sound
diff options
context:
space:
mode:
authorLars-Peter Clausen <lars@metafoo.de>2013-10-08 15:08:00 +0200
committerMark Brown <broonie@linaro.org>2013-10-19 21:26:06 +0100
commitfa654e085300e9c222ef931bc0702a9df2542666 (patch)
tree8ad9f7ff04029d67b46fe76478541d8512109a94 /include/sound
parentc0de42bf595238e9dd593405ebc2992cc8470732 (diff)
downloadlinux-stable-fa654e085300e9c222ef931bc0702a9df2542666.tar.gz
linux-stable-fa654e085300e9c222ef931bc0702a9df2542666.tar.bz2
linux-stable-fa654e085300e9c222ef931bc0702a9df2542666.zip
ASoC: dmaengine-pcm: Provide default config
This patch adds some default settings for the generic dmaengine PCM driver for the case that no config has been supplied. The following defaults are used: * Use snd_dmaengine_pcm_prepare_slave_config for preparing the DMA slave config. * 512kB for the prealloc buffer size. This value has been chosen based on 'feels about right' and is not backed up by any scientific facts. We may need to come up with something smarter in the future but it should work fine for now. With this infrastructure in place we can finally write DAI drivers which are independent of the DMA controller they are connected to. This is e.g. useful if the DAI IP core is reused across different SoCs, but the SoCs uses different DMA controllers. Signed-off-by: Lars-Peter Clausen <lars@metafoo.de> Signed-off-by: Mark Brown <broonie@linaro.org>
Diffstat (limited to 'include/sound')
0 files changed, 0 insertions, 0 deletions