summaryrefslogtreecommitdiff
path: root/sound
diff options
context:
space:
mode:
authorFang, Yang A <yang.a.fang@intel.com>2015-06-12 08:17:57 +0300
committerMark Brown <broonie@kernel.org>2015-06-12 13:23:50 +0300
commitffb3722b9778c92fd05b187fd99ec34dbf31e580 (patch)
tree599d9a6266bf99f694ca6e21411a3c70b5004b3e /sound
parentb787f68c36d49bb1d9236f403813641efa74a031 (diff)
downloadlinux-ffb3722b9778c92fd05b187fd99ec34dbf31e580.tar.xz
ASoC: Intel: Fixed incorrect sst pcm_delay
This patch corrected pcm_delay calculation in BSW sst driver Signed-off-by: Fang, Yang A <yang.a.fang@intel.com> Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound')
-rw-r--r--sound/soc/intel/atom/sst/sst_drv_interface.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/soc/intel/atom/sst/sst_drv_interface.c b/sound/soc/intel/atom/sst/sst_drv_interface.c
index 7b50a9d17ec1..620da1d1b9e3 100644
--- a/sound/soc/intel/atom/sst/sst_drv_interface.c
+++ b/sound/soc/intel/atom/sst/sst_drv_interface.c
@@ -533,7 +533,7 @@ static inline int sst_calc_tstamp(struct intel_sst_drv *ctx,
info->buffer_ptr = pointer_samples / substream->runtime->channels;
- info->pcm_delay = delay_frames / substream->runtime->channels;
+ info->pcm_delay = delay_frames;
dev_dbg(ctx->dev, "buffer ptr %llu pcm_delay rep: %llu\n",
info->buffer_ptr, info->pcm_delay);
return 0;