linux/sound/soc
Keyon Jie e582f4832a
ASoC: SOF: pcm: skip DMA buffer pre-allocation
As discussion in ALSA https://patchwork.kernel.org/patch/11336023/, it
is suggested to skip DMA buffer pre-allocation with passing size=0 when
calling snd_pcm_set_managed_buffer(), to make the full buffer_bytes
range configured in topology file selectable from user space, here do
the corresponding change in SOF PCM driver to implement it.

This change doesn't have dependency to the change that Takashi will do
in the ALSA core by adding total_pcm_alloc_bytes limitation to the
struct snd_card, it passes tests both with or without Takashi's coming
change on SOF CML platform.

Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Signed-off-by: Keyon Jie <yang.jie@linux.intel.com>
Link: https://lore.kernel.org/r/20200228231850.9226-2-pierre-louis.bossart@linux.intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
2020-03-02 14:13:47 +00:00
..
adi
amd ASoC: amd: Allow I2S wake event after ACP is powerd On 2020-02-26 18:14:15 +00:00
atmel ASoC: atmel: fix atmel_ssc_set_audio link failure 2020-02-10 11:59:09 +00:00
au1x sound updates for 5.6-rc1 2020-01-28 16:26:57 -08:00
bcm ASoC: bcm: cygnus-ssp: move .suspend/.resume to component 2020-01-21 17:02:56 +00:00
cirrus ASoC: soc-core: remove bus_control 2020-01-21 17:07:08 +00:00
codecs ASoC: rt5682: Make rt5682_clock_config static 2020-02-28 17:28:28 +00:00
dwc ASoC: dwc: dwc-i2s: use for_each_pcm_streams() macro 2020-02-18 23:37:09 +00:00
fsl ASoC: fsl: fsl_asrc_dma: use for_each_pcm_streams() macro 2020-02-18 23:37:10 +00:00
generic ASoC: simple-card: Don't create separate link when platform is present 2019-12-10 13:10:40 +00:00
hisilicon
img
intel ASoC: Intel: mrfld: fix incorrect check on p->sink 2020-02-25 13:07:02 +00:00
jz4740 ASoC: jz4740: jz4740-i2s: move .suspend/.resume to component 2020-01-21 17:03:32 +00:00
kirkwood ASoC: kirkwood: Drop superfluous ioctl PCM ops 2019-12-11 15:57:19 +00:00
mediatek ASoC: mediatek: mt8183-da7219-max98357: use for_each_rtd_codec_dai() macro 2020-02-19 17:12:18 +00:00
meson Merge branch 'for-5.6' of https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound into asoc-5.7 2020-02-24 22:26:06 +00:00
mxs ASoC: Remove dev_err() usage after platform_get_irq() 2019-08-02 12:12:31 +01:00
pxa ASoC: soc-core: remove bus_control 2020-01-21 17:07:08 +00:00
qcom ASoC: qcom: apq8016_sbc: use for_each_rtd_codec_dai() macro 2020-02-19 17:12:16 +00:00
rockchip ASoC: Fixes for v5.4 2019-11-07 13:52:17 +01:00
samsung ASoC: samsung: Silence warnings during deferred probe 2020-02-28 17:28:29 +00:00
sh ASoC: sh: fsi: Restore devm_ioremap() alignment 2020-02-12 18:42:47 +00:00
sirf ASoC: sirf: use devm_platform_ioremap_resource() to simplify code 2019-07-31 12:05:39 +01:00
sof ASoC: SOF: pcm: skip DMA buffer pre-allocation 2020-03-02 14:13:47 +00:00
spear ASoC: spear: use devm_platform_ioremap_resource() to simplify code 2019-07-31 12:06:18 +01:00
sprd ASoC: sprd: Drop superfluous ioctl PCM ops 2019-12-11 15:59:40 +00:00
sti ASoC: sti: sti_uniperif: move .suspend/.resume to component 2020-01-21 17:04:37 +00:00
stm ASoC: stm32: i2s: improve error management on probe deferral 2020-02-11 11:24:43 +00:00
sunxi Merge branch 'for-5.6' of https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound into asoc-5.7 2020-02-24 22:26:06 +00:00
tegra ASoC: tegra: Revert 24 and 32 bit support 2020-02-02 12:07:47 +00:00
ti ASoC: ti: davinci-mcasp: remove redundant assignment to variable ret 2020-02-11 11:47:59 +00:00
txx9 ASoC: soc-core: remove bus_control 2020-01-21 17:07:08 +00:00
uniphier ASoC: uniphier: move .suspend/.resume to component 2020-01-21 17:05:16 +00:00
ux500 ASoC: ux500: ux500_msp_dai: remove unused DAI .suspend/.resume 2020-01-21 17:06:13 +00:00
xilinx ASoC: xilinx: Use managed buffer allocation 2019-12-11 16:43:25 +00:00
xtensa ASoC: xtensa: Use managed buffer allocation 2019-12-11 16:43:26 +00:00
zte ASoC: zte: zx-spdif: remove redundant dev_err message 2020-02-28 17:28:31 +00:00
Kconfig ASoC: remove w90x900/nuc900 platform drivers 2019-08-12 14:00:29 +01:00
Makefile ASoC: remove w90x900/nuc900 platform drivers 2019-08-12 14:00:29 +01:00
soc-ac97.c
soc-acpi.c
soc-component.c ASoC: soc-pcm: fix state tracking error in snd_soc_component_open/close() 2020-02-24 21:48:24 +00:00
soc-compress.c ASoC: Return error if the function does not support multi-cpu 2020-02-26 17:35:04 +00:00
soc-core.c ASoC: Add initial support for multiple CPU DAIs 2020-02-26 17:35:00 +00:00
soc-dai.c ASoC: soc-pcm: add snd_soc_dai_get_pcm_stream() 2020-02-24 21:18:28 +00:00
soc-dapm.c ASoC: soc-dapm: don't use rtd->cpu_dai on for_each_rtd_cpu_dai() 2020-02-28 17:28:30 +00:00
soc-devres.c
soc-generic-dmaengine-pcm.c ASoC: Return error if the function does not support multi-cpu 2020-02-26 17:35:04 +00:00
soc-io.c
soc-jack.c ASoC: Jack: Fix NULL pointer dereference in snd_soc_jack_report 2019-11-12 17:12:56 +00:00
soc-ops.c ASoC: soc-ops: use snd_soc_card_get_kcontrol() at snd_soc_limit_volume() 2019-10-03 14:37:20 +01:00
soc-pcm.c ASoC: pcm: check if cpu-dai supports a given stream 2020-02-26 17:35:05 +00:00
soc-topology.c Merge branch 'for-5.6' of https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound into asoc-5.7 2020-02-24 22:26:06 +00:00
soc-utils.c ASoC: utils: Drop superfluous ioctl PCM ops 2019-12-11 16:00:48 +00:00