diff options
author | Akshu Agrawal <akshu.agrawal@amd.com> | 2018-08-01 13:07:33 +0300 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2018-08-01 16:31:16 +0300 |
commit | 9fb4c2bf130b922c77c16a8368732699799c40de (patch) | |
tree | 6269a3dfe272e723c57011a6193ab5288228b627 /sound/soc/codecs | |
parent | b74fd69043262003c5b7ce545e59f5a7234ab290 (diff) | |
download | linux-9fb4c2bf130b922c77c16a8368732699799c40de.tar.xz |
ASoC: soc-pcm: Use delay set in component pointer function
Take into account the base delay set in pointer callback.
There are cases where a pointer function populates
runtime->delay, such as:
./sound/pci/hda/hda_controller.c
./sound/soc/intel/atom/sst-mfld-platform-pcm.c
This delay was getting lost and was overwritten by delays
from codec or cpu dai delay function if exposed.
Now,
Total delay = base delay + cpu_dai delay + codec_dai delay
Signed-off-by: Akshu Agrawal <akshu.agrawal@amd.com>
Reviewed-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/codecs')
0 files changed, 0 insertions, 0 deletions