OSDN Git Service

ASoC: Intel: Skylake: Add DMA resume position in Trigger resume/suspend
authorJeeja KP <jeeja.kp@intel.com>
Fri, 18 Dec 2015 09:42:07 +0000 (15:12 +0530)
committerMark Brown <broonie@kernel.org>
Sun, 10 Jan 2016 12:19:03 +0000 (12:19 +0000)
commit748a1d5a3fb75e1102320214a8bde347d7b228c3
treec1433d5c6240de76cdde8453038689fdaca3574f
parent1f4956fd96c98e3fbe9a2818014cf36854398db0
ASoC: Intel: Skylake: Add DMA resume position in Trigger resume/suspend

Use the DMA resume capability to resume the DMA position when
stream is suspended/resumed.

In suspend we save the position and when stream is resumed the stream needs
to be started from the position when the stream was suspended using the new
DMA resume capabilities

Signed-off-by: Jeeja KP <jeeja.kp@intel.com>
Signed-off-by: Vinod Koul <vinod.koul@intel.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/intel/skylake/skl-pcm.c