linux-hardened/sound/soc
Lars-Peter Clausen 3528f27a5d ASoC: dmaengine-pcm: Add support for querying stream position from DMA driver
Currently the sound dmaengine pcm helper functions implement the pcm_pointer
callback by trying to count the number of elapsed periods. This is done by
advancing the stream position in the dmaengine callback by one period.
Unfortunately there is no guarantee that the callback will be called for each
elapsed period. It may be possible that under high system load it is only called
once for multiple elapsed periods. This patch addresses the issue by
implementing support for querying the current stream position directly from the
dmaengine driver. Since not all dmaengine drivers support reporting the stream
position yet the old period counting implementation is kept for now.

Furthermore the new mechanism allows to report the stream position with a
sub-period granularity, given that the dmaengine driver supports this.

Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
Acked-by: Vinod Koul <vinod.koul@intel.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
2012-06-20 15:39:05 +01:00
..
atmel ASoC: Convert afeb9260 to table based DAPM init 2012-02-01 21:52:54 +00:00
au1x Merge branch 'upstream' of git://git.linux-mips.org/pub/scm/ralf/upstream-linus 2012-01-14 13:05:21 -08:00
blackfin ASoC: add i2s dai driver for bf6xx soc 2012-06-20 11:26:54 +01:00
codecs ASoC: wm5100: Remove stubs of ASoC-level register map code 2012-06-19 12:43:26 +01:00
davinci ASoC: replace 0xffffffff with DMA_BIT_MASK macro 2012-01-20 13:58:26 +00:00
ep93xx ASoC: dmaengine-pcm: Rename and deprecate snd_dmaengine_pcm_pointer 2012-06-20 15:38:32 +01:00
fsl ASoC: dmaengine-pcm: Rename and deprecate snd_dmaengine_pcm_pointer 2012-06-20 15:38:32 +01:00
generic ASoC: add generic simple-card support 2012-04-13 11:29:25 +01:00
jz4740 ASoC: JZ4740: Replaced comma operators with semicolons. 2012-04-06 18:22:05 +01:00
kirkwood ARM: Orion: Audio: Add clk/clkdev support 2012-05-08 16:34:03 -07:00
mid-x86 ASoC: core: Add support for DAI and machine kcontrols. 2012-02-04 12:40:11 +00:00
mxs ASoC: dmaengine-pcm: Rename and deprecate snd_dmaengine_pcm_pointer 2012-06-20 15:38:32 +01:00
nuc900 Merge branch 'master' into fixes 2012-01-13 15:00:22 +00:00
omap ASoC: OMAP: HDMI: Rename sound card source file 2012-05-22 17:33:24 +01:00
pxa ASoC: add ttc-dkb machine support 2012-06-13 13:16:14 +01:00
s6000 ASoC: use proper defines for stream directions in pcm engines 2012-01-20 13:58:25 +00:00
samsung Linux 3.4-rc7 2012-05-13 13:32:54 +01:00
sh ASoC: fsi: use PIO handler if DMA handler was invalid 2012-06-03 13:06:39 +01:00
tegra ASoC: tegra: use regmap more directly 2012-06-08 07:03:14 +08:00
txx9 dmaengine/dma_slave: introduce inline wrappers 2012-03-21 19:20:22 +05:30
ux500 ASoC: dmaengine-pcm: Rename and deprecate snd_dmaengine_pcm_pointer 2012-06-20 15:38:32 +01:00
Kconfig ASoC: Ux500: Add MSP I2S-driver 2012-05-09 12:52:59 +01:00
Makefile ASoC: Ux500: Add MSP I2S-driver 2012-05-09 12:52:59 +01:00
soc-cache.c ASoC: Remove rbtree register cache 2011-12-13 00:20:28 +08:00
soc-core.c ASoC: probe CODECs and platforms before DAIs and links 2012-06-13 13:18:05 +01:00
soc-dapm.c ASoC: dapm: The clock API is even less consistent than thought 2012-06-05 10:44:23 +01:00
soc-dmaengine-pcm.c ASoC: dmaengine-pcm: Add support for querying stream position from DMA driver 2012-06-20 15:39:05 +01:00
soc-io.c ASoC: io: Use dev_get_regmap() if driver doesn't provide a regmap 2012-06-03 13:06:41 +01:00
soc-jack.c ASoC: jack: Push locking for jacks down to the jack 2012-04-01 11:28:23 +01:00
soc-pcm.c ASoC: pcm: Staticise non-exported functions 2012-05-10 10:37:19 +01:00
soc-utils.c ASoC: utils - Add support for a dummy codec driver. 2012-01-20 13:58:27 +00:00