diff options
author | Vinod Koul <vinod.koul@intel.com> | 2014-06-13 16:33:53 +0400 |
---|---|---|
committer | Mark Brown <broonie@linaro.org> | 2014-06-21 19:31:01 +0400 |
commit | 2a6358250081c24cc1e564cb82ecbfd19d8c7238 (patch) | |
tree | 199c57b81de92a8cfb41b782086e56163052bde1 /sound/soc/intel/sst-mfld-platform-pcm.c | |
parent | 9daa5bd34f84e43f23ce996d43da5f39348ae8fd (diff) | |
download | linux-2a6358250081c24cc1e564cb82ecbfd19d8c7238.tar.xz |
ASoc: Intel: mfld-pcm: report pcm delay
Now the DSP is capable of reporting the delay, report it to upper layers
Signed-off-by: Vinod Koul <vinod.koul@intel.com>
Signed-off-by: Mark Brown <broonie@linaro.org>
Diffstat (limited to 'sound/soc/intel/sst-mfld-platform-pcm.c')
-rw-r--r-- | sound/soc/intel/sst-mfld-platform-pcm.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sound/soc/intel/sst-mfld-platform-pcm.c b/sound/soc/intel/sst-mfld-platform-pcm.c index 4528946f5e9e..80879e5fcb49 100644 --- a/sound/soc/intel/sst-mfld-platform-pcm.c +++ b/sound/soc/intel/sst-mfld-platform-pcm.c @@ -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; } |