Commit bf88b3c3 authored by Pierre-Louis Bossart's avatar Pierre-Louis Bossart Committed by Mark Brown

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

Detected with Coccinelle
Signed-off-by: default avatarPierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Signed-off-by: default avatarMark Brown <broonie@kernel.org>
parent 6c541458
...@@ -1216,7 +1216,7 @@ int sst_hsw_stream_commit(struct sst_hsw *hsw, struct sst_hsw_stream *stream) ...@@ -1216,7 +1216,7 @@ int sst_hsw_stream_commit(struct sst_hsw *hsw, struct sst_hsw_stream *stream)
return ret; return ret;
} }
stream->commited = 1; stream->commited = true;
trace_hsw_stream_alloc_reply(stream); trace_hsw_stream_alloc_reply(stream);
return 0; return 0;
......
...@@ -861,7 +861,7 @@ static int hsw_pcm_close(struct snd_pcm_substream *substream) ...@@ -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); dev_dbg(rtd->dev, "error: free stream failed %d\n", ret);
goto out; goto out;
} }
pcm_data->allocated = 0; pcm_data->allocated = false;
pcm_data->stream = NULL; pcm_data->stream = NULL;
out: out:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment