Skip to content

Commit 2de29fa

Browse files
keyonjieplbossart
authored andcommitted
ASoC: SOF: 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>
1 parent 46c2b85 commit 2de29fa

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

‎sound/soc/sof/intel/cnl.c‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -199,6 +199,7 @@ const struct snd_sof_dsp_ops sof_cnl_ops = {
199199
.pcm_close=hda_dsp_pcm_close,
200200
.pcm_hw_params=hda_dsp_pcm_hw_params,
201201
.pcm_trigger=hda_dsp_pcm_trigger,
202+
.pcm_pointer=hda_dsp_pcm_pointer,
202203

203204
/* firmware loading */
204205
.load_firmware=snd_sof_load_firmware_raw,

0 commit comments

Comments
 (0)