aboutsummaryrefslogtreecommitdiffstats
path: root/sound/soc/intel/atom/sst-mfld-platform-pcm.c
diff options
context:
space:
mode:
authorPierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>2018-12-16 16:49:08 -0600
committerMark Brown <broonie@kernel.org>2019-01-03 16:34:12 +0000
commit10583cdac237b32c0d3f6027b06c5eec8bf91211 (patch)
treeeaeef2449d349bdf5dceeaa9794116b5f46fa244 /sound/soc/intel/atom/sst-mfld-platform-pcm.c
parentASoC: Intel: Baytrail: simplify boolean test (diff)
downloadlinux-dev-10583cdac237b32c0d3f6027b06c5eec8bf91211.tar.xz
linux-dev-10583cdac237b32c0d3f6027b06c5eec8bf91211.zip
ASoC: Intel: Atom: simplify boolean tests
Detected with Coccinelle Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com> Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/intel/atom/sst-mfld-platform-pcm.c')
-rw-r--r--sound/soc/intel/atom/sst-mfld-platform-pcm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/soc/intel/atom/sst-mfld-platform-pcm.c b/sound/soc/intel/atom/sst-mfld-platform-pcm.c
index afc559866095..aefa5ce4cb59 100644
--- a/sound/soc/intel/atom/sst-mfld-platform-pcm.c
+++ b/sound/soc/intel/atom/sst-mfld-platform-pcm.c
@@ -190,7 +190,7 @@ int sst_fill_stream_params(void *substream,
map = ctx->pdata->pdev_strm_map;
map_size = ctx->pdata->strm_map_size;
- if (is_compress == true)
+ if (is_compress)
cstream = (struct snd_compr_stream *)substream;
else
pstream = (struct snd_pcm_substream *)substream;