summaryrefslogtreecommitdiffstats
path: root/sound/soc/intel/baytrail/sst-baytrail-pcm.c
diff options
context:
space:
mode:
Diffstat (limited to 'sound/soc/intel/baytrail/sst-baytrail-pcm.c')
-rw-r--r--sound/soc/intel/baytrail/sst-baytrail-pcm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/soc/intel/baytrail/sst-baytrail-pcm.c b/sound/soc/intel/baytrail/sst-baytrail-pcm.c
index aa358073ac0f..5373605de0af 100644
--- a/sound/soc/intel/baytrail/sst-baytrail-pcm.c
+++ b/sound/soc/intel/baytrail/sst-baytrail-pcm.c
@@ -188,7 +188,7 @@ static int sst_byt_pcm_trigger(struct snd_pcm_substream *substream, int cmd)
sst_byt_stream_start(byt, pcm_data->stream, 0);
break;
case SNDRV_PCM_TRIGGER_RESUME:
- if (pdata->restore_stream == true)
+ if (pdata->restore_stream)
schedule_work(&pcm_data->work);
else
sst_byt_stream_resume(byt, pcm_data->stream);