linux/sound/soc
Marek Szyprowski d8095f94e1 dmaengine: add support for reporting pause and resume separately
'cmd_pause' DMA channel capability means that respective DMA engine
supports both pausing and resuming given DMA channel. However, in some
cases it is important to know if DMA channel can be paused without the
need to resume it. This is a typical requirement for proper residue
reading on transfer timeout in UART drivers. There are also some DMA
engines with limited hardware, which doesn't really support resuming.

Reporting pause and resume capabilities separately allows UART drivers to
properly check for the really required capabilities and operate in DMA
mode also in systems with limited DMA hardware. On the other hand drivers,
which rely on full channel suspend/resume support, should now check for
both 'pause' and 'resume' features.

Existing clients of dma_get_slave_caps() have been checked and the only
driver which rely on proper channel resuming is soc-generic-dmaengine-pcm
driver, which has been updated to check the newly added capability.
Existing 'cmd_pause' now only indicates that DMA engine support pausing
given DMA channel.

Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com>
Acked-by: Mark Brown <broonie@kernel.org>
Signed-off-by: Vinod Koul <vkoul@kernel.org>
2018-07-09 22:59:04 +05:30
..
adi
amd ASoC: AMD: make channel 1 dma as circular 2018-05-29 14:56:21 +01:00
atmel ASoC: atmel-i2s: add driver for the new Atmel I2S controller 2018-05-29 15:37:21 +01:00
au1x treewide: devm_kzalloc() -> devm_kcalloc() 2018-06-12 16:19:22 -07:00
bcm ASoC: Remove depends on HAS_DMA in case of platform dependency 2018-04-18 11:17:09 +01:00
cirrus ASoC: cirrus: i2s: IRQ-based stream watchdog 2018-05-11 11:27:33 +09:00
codecs treewide: devm_kzalloc() -> devm_kcalloc() 2018-06-12 16:19:22 -07:00
davinci treewide: devm_kzalloc() -> devm_kcalloc() 2018-06-12 16:19:22 -07:00
dwc Merge remote-tracking branches 'asoc/topic/dwc', 'asoc/topic/es7134', 'asoc/topic/es8316', 'asoc/topic/es8328' and 'asoc/topic/fsl' into asoc-next 2018-03-28 10:29:36 +08:00
fsl ASoC: Updates for v4.18 2018-06-05 16:51:55 +02:00
generic treewide: devm_kzalloc() -> devm_kcalloc() 2018-06-12 16:19:22 -07:00
hisilicon ASoC: hisilicon: fix spelling mistake: "uknown" -> "unknown" 2018-05-13 10:08:11 +09:00
img treewide: devm_kzalloc() -> devm_kcalloc() 2018-06-12 16:19:22 -07:00
intel treewide: devm_kzalloc() -> devm_kcalloc() 2018-06-12 16:19:22 -07:00
jz4740
kirkwood ASoC: Remove depends on HAS_DMA in case of platform dependency 2018-04-18 11:17:09 +01:00
mediatek treewide: devm_kzalloc() -> devm_kcalloc() 2018-06-12 16:19:22 -07:00
mxs
nuc900
omap ARM: SoC platform updates 2018-06-11 17:49:09 -07:00
pxa treewide: devm_kzalloc() -> devm_kcalloc() 2018-06-12 16:19:22 -07:00
qcom - Introduce arithmetic overflow test helper functions (Rasmus) 2018-06-06 17:27:14 -07:00
rockchip treewide: devm_kzalloc() -> devm_kcalloc() 2018-06-12 16:19:22 -07:00
samsung Merge remote-tracking branches 'asoc/topic/wm8991', 'asoc/topic/wm8994', 'asoc/topic/wm8995', 'asoc/topic/wm8996' and 'asoc/topic/wm9081' into asoc-next 2018-03-28 10:31:54 +08:00
sh treewide: devm_kzalloc() -> devm_kcalloc() 2018-06-12 16:19:22 -07:00
sirf
spear
sti
stm
sunxi Merge remote-tracking branches 'asoc/topic/sta529', 'asoc/topic/sti-sas', 'asoc/topic/stm32', 'asoc/topic/sun4i' and 'asoc/topic/sun8i' into asoc-next 2018-03-28 10:30:49 +08:00
tegra
txx9
uniphier treewide: devm_kzalloc() -> devm_kcalloc() 2018-06-12 16:19:22 -07:00
ux500
xtensa
zte ASoC: zte: remove duplicate includes 2018-05-17 15:46:22 +09:00
Kconfig
Makefile ASoC: remove codec reg_cache 2018-05-09 18:38:23 +09:00
soc-ac97.c
soc-acpi.c
soc-compress.c ASoC: compress: Fix up some trivial formatting issues 2018-05-11 12:24:31 +09:00
soc-core.c treewide: devm_kzalloc() -> devm_kcalloc() 2018-06-12 16:19:22 -07:00
soc-dapm.c treewide: kzalloc() -> kcalloc() 2018-06-12 16:19:22 -07:00
soc-devres.c ASoC: Remove platform code now everything is componentised 2018-04-26 12:24:43 +01:00
soc-generic-dmaengine-pcm.c dmaengine: add support for reporting pause and resume separately 2018-07-09 22:59:04 +05:30
soc-io.c ASoC: remove Codec related code 2018-05-09 18:39:07 +09:00
soc-jack.c ASoC: remove Codec related code 2018-05-09 18:39:07 +09:00
soc-ops.c
soc-pcm.c ASoC: core: Fix return code shown on error for hw_params 2018-05-30 16:34:28 +01:00
soc-topology.c treewide: kzalloc() -> kcalloc() 2018-06-12 16:19:22 -07:00
soc-utils.c