]> git.proxmox.com Git - mirror_ubuntu-disco-kernel.git/commit
ASoC: rsnd: update pointer more accurate
authorKuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Wed, 7 Jun 2017 00:20:01 +0000 (00:20 +0000)
committerMark Brown <broonie@kernel.org>
Wed, 7 Jun 2017 19:30:03 +0000 (20:30 +0100)
commit07b7acb51d283d8469696c906b91f1882696a4d4
tree93ac1c09af5e016ff0b1fa84b54c14d27aa935ef
parent0d6b35212b451d4ac0c07c7b2b15b20ea763df5c
ASoC: rsnd: update pointer more accurate

Current rsnd driver updates pointer when DMA transfer was finished
in DMA transfer mode. But PulseAudio requests more accurate
pointer update when timer mode.
This patch consider about DMA transfer residue and update more
accurate pointer.

Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/sh/rcar/core.c
sound/soc/sh/rcar/dma.c
sound/soc/sh/rcar/rsnd.h
sound/soc/sh/rcar/ssi.c