Commit 2a635825 authored by Vinod Koul's avatar Vinod Koul Committed by Mark Brown

ASoc: Intel: mfld-pcm: report pcm delay

Now the DSP is capable of reporting the delay, report it to upper layers
Signed-off-by: default avatarVinod Koul <vinod.koul@intel.com>
Signed-off-by: default avatarMark Brown <broonie@linaro.org>
parent 9daa5bd3
......@@ -409,6 +409,7 @@ static snd_pcm_uframes_t sst_platform_pcm_pointer
pr_err("sst: error code = %d\n", ret_val);
return ret_val;
}
substream->runtime->delay = str_info->pcm_delay;
return str_info->buffer_ptr;
}
......
......@@ -42,6 +42,7 @@ struct pcm_stream_info {
void *arg;
void (*period_elapsed) (void *arg);
unsigned long long buffer_ptr;
unsigned long long pcm_delay;
int sfreq;
};
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment