projects
/
platform
/
kernel
/
linux-rpi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b787f68
)
ASoC: Intel: Fixed incorrect sst pcm_delay
author
Fang, Yang A
<yang.a.fang@intel.com>
Fri, 12 Jun 2015 05:17:57 +0000
(22:17 -0700)
committer
Mark Brown
<broonie@kernel.org>
Fri, 12 Jun 2015 10:23:50 +0000
(11:23 +0100)
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>
sound/soc/intel/atom/sst/sst_drv_interface.c
patch
|
blob
|
history
diff --git
a/sound/soc/intel/atom/sst/sst_drv_interface.c
b/sound/soc/intel/atom/sst/sst_drv_interface.c
index 7b50a9d17ec1bc0db11634e153c807fc7692984a..620da1d1b9e3ea4fbde293c3e98fae4c30708ac1 100644
(file)
--- 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;