forked from Minki/linux
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:
parent
6c54145897
commit
bf88b3c3c2
@ -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;
|
||||
|
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user