Skip to content

Commit

Permalink
ASoC: Intel: Fixed incorrect sst pcm_delay
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Fang, Yang A authored and Mark Brown committed Jun 12, 2015
1 parent b787f68 commit ffb3722
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sound/soc/intel/atom/sst/sst_drv_interface.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit ffb3722

Please sign in to comment.