ASoC: SOF: Intel: cnl: add pointer ops to use DPIB position
authorKeyon Jie <yang.jie@linux.intel.com>
Tue, 30 Apr 2019 23:09:19 +0000 (18:09 -0500)
committerMark Brown <broonie@kernel.org>
Fri, 3 May 2019 05:56:54 +0000 (14:56 +0900)
commitacd1c1883d40d1b03f3b70a82afcab9aa3b94c98
treef8c195e062a6e9d4109e3a8199e72fe3a2b391e2
parent8e3a6e45a77bd4167554b4bd0633a2adabf1bd77
ASoC: SOF: Intel: cnl: add pointer ops to use DPIB position

Add .pcm_pointer ops for cannonlake to read DPIB/posbuf and get pointer
for ALSA, to align with apollolake.

Signed-off-by: Keyon Jie <yang.jie@linux.intel.com>
Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/sof/intel/cnl.c