mirror of
https://github.com/torvalds/linux.git
synced 2024-11-24 13:11:40 +00:00
ASoC: Intel: Baytrail: simplify boolean test
Detected with Coccinelle Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com> Signed-off-by: Mark Brown <broonie@kernel.org>
This commit is contained in:
parent
060d35be2d
commit
e295450dd8
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user