summaryrefslogtreecommitdiff
path: root/sound/soc/intel/sst-baytrail-pcm.c
diff options
context:
space:
mode:
authorJarkko Nikula <jarkko.nikula@linux.intel.com>2014-05-08 17:07:23 +0400
committerMark Brown <broonie@linaro.org>2014-05-13 01:02:17 +0400
commita6686ed553426be00b3bb10acaa2170a6814bbdd (patch)
tree7d3a1cb5a0b417ab03a8e2b72f04921157543838 /sound/soc/intel/sst-baytrail-pcm.c
parent65ee9e8fb654838aa83346728d20b6d7889a7f57 (diff)
downloadlinux-a6686ed553426be00b3bb10acaa2170a6814bbdd.tar.xz
ASoC: Intel: Pass stream start position to sst_byt_stream_start()
Stream start position will be needed in resume code. Prepare for it by adding start offset argument to sst_byt_stream_start(). Signed-off-by: Jarkko Nikula <jarkko.nikula@linux.intel.com> Signed-off-by: Mark Brown <broonie@linaro.org>
Diffstat (limited to 'sound/soc/intel/sst-baytrail-pcm.c')
-rw-r--r--sound/soc/intel/sst-baytrail-pcm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/soc/intel/sst-baytrail-pcm.c b/sound/soc/intel/sst-baytrail-pcm.c
index b8a89e9f753d..e2c2540ffff4 100644
--- a/sound/soc/intel/sst-baytrail-pcm.c
+++ b/sound/soc/intel/sst-baytrail-pcm.c
@@ -145,7 +145,7 @@ static int sst_byt_pcm_trigger(struct snd_pcm_substream *substream, int cmd)
switch (cmd) {
case SNDRV_PCM_TRIGGER_START:
- sst_byt_stream_start(byt, pcm_data->stream);
+ sst_byt_stream_start(byt, pcm_data->stream, 0);
break;
case SNDRV_PCM_TRIGGER_RESUME:
case SNDRV_PCM_TRIGGER_PAUSE_RELEASE: