]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: generic-dmaengine-pcm: Use SNDRV_DMA_TYPE_DEV_IRAM as default
authorNicolin Chen <b42378@freescale.com>
Thu, 7 Nov 2013 06:45:16 +0000 (14:45 +0800)
committerTakashi Iwai <tiwai@suse.de>
Thu, 7 Nov 2013 20:19:54 +0000 (21:19 +0100)
commitfdf4a8eb4b2ab53f8a4cef9d19b941a275a4bd91
tree5c6cb278935a2bcf6516faf2ed27335e3745e054
parent56405abfd9171e0b293f12b56a62179e38fc18f2
ASoC: generic-dmaengine-pcm: Use SNDRV_DMA_TYPE_DEV_IRAM as default

When allocating memory space for DMA buffer, use on-chip internal SRAM
as default choice to save power. Since the core would allocate memory
from traditional external memory if iram allocation failed, we don't
need to worry about any side effect.

Signed-off-by: Nicolin Chen <b42378@freescale.com>
Acked-by: Lars-Peter Clausen <lars@metafoo.de>
Acked-by: Mark Brown <broonie@linaro.org>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/soc/soc-generic-dmaengine-pcm.c