ASoC: Intel: Haswell: assign booleans to true/false

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:
Pierre-Louis Bossart
2018-12-16 16:49:05 -06:00
committed by Mark Brown
parent 6c54145897
commit bf88b3c3c2
2 changed files with 2 additions and 2 deletions

View File

@@ -1216,7 +1216,7 @@ int sst_hsw_stream_commit(struct sst_hsw *hsw, struct sst_hsw_stream *stream)
return ret;
}
stream->commited = 1;
stream->commited = true;
trace_hsw_stream_alloc_reply(stream);
return 0;

View File

@@ -861,7 +861,7 @@ static int hsw_pcm_close(struct snd_pcm_substream *substream)
dev_dbg(rtd->dev, "error: free stream failed %d\n", ret);
goto out;
}
pcm_data->allocated = 0;
pcm_data->allocated = false;
pcm_data->stream = NULL;
out: