* [PATCH] ASoC: Intel: Fixed incorrect sst pcm_delay
@ 2015-06-12 5:17 yang.a.fang
2015-06-12 10:24 ` Mark Brown
0 siblings, 1 reply; 2+ messages in thread
From: yang.a.fang @ 2015-06-12 5:17 UTC (permalink / raw)
To: broonie, lgirdwood
Cc: alsa-devel, srinivas.sripathi, vinod.koul, praveen.k.jain,
denny.iriawan, Fang, Yang A, sathyanarayana.nujella,
sathya.prakash.m.r, subhransu.s.prusty
From: "Fang, Yang A" <yang.a.fang@intel.com>
This patch corrected pcm_delay calculation in BSW sst driver
Signed-off-by: Fang, Yang A <yang.a.fang@intel.com>
---
sound/soc/intel/atom/sst/sst_drv_interface.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/sound/soc/intel/atom/sst/sst_drv_interface.c b/sound/soc/intel/atom/sst/sst_drv_interface.c
index 7b50a9d..620da1d 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;
--
1.7.9.5
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] ASoC: Intel: Fixed incorrect sst pcm_delay
2015-06-12 5:17 [PATCH] ASoC: Intel: Fixed incorrect sst pcm_delay yang.a.fang
@ 2015-06-12 10:24 ` Mark Brown
0 siblings, 0 replies; 2+ messages in thread
From: Mark Brown @ 2015-06-12 10:24 UTC (permalink / raw)
To: yang.a.fang
Cc: alsa-devel, srinivas.sripathi, vinod.koul, praveen.k.jain,
lgirdwood, denny.iriawan, sathyanarayana.nujella,
sathya.prakash.m.r, subhransu.s.prusty
[-- Attachment #1.1: Type: text/plain, Size: 208 bytes --]
On Thu, Jun 11, 2015 at 10:17:57PM -0700, yang.a.fang@intel.com wrote:
> From: "Fang, Yang A" <yang.a.fang@intel.com>
>
> This patch corrected pcm_delay calculation in BSW sst driver
Applied, thanks.
[-- Attachment #1.2: Digital signature --]
[-- Type: application/pgp-signature, Size: 473 bytes --]
[-- Attachment #2: Type: text/plain, Size: 0 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2015-06-12 10:24 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-06-12 5:17 [PATCH] ASoC: Intel: Fixed incorrect sst pcm_delay yang.a.fang
2015-06-12 10:24 ` Mark Brown
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox