diff options
author | Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com> | 2019-01-04 20:02:44 -0600 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2019-01-07 16:53:10 +0000 |
commit | f361ca36802031ae3abf9860a02e1d5931c04b63 (patch) | |
tree | 1bd3e425688e6fbbde9072d86abbdebd76a14f46 /sound/soc/codecs | |
parent | 290da7a7e349566f0e1541b14f25b722f58f236b (diff) | |
download | talos-op-linux-f361ca36802031ae3abf9860a02e1d5931c04b63.tar.gz talos-op-linux-f361ca36802031ae3abf9860a02e1d5931c04b63.zip |
ASoC: tscs42xx.c: fix boolean test
Reported by Coccinelle:
sound/soc/codecs/tscs42xx.c:392:5-31: WARNING: Comparison to bool
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/codecs')
-rw-r--r-- | sound/soc/codecs/tscs42xx.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/soc/codecs/tscs42xx.c b/sound/soc/codecs/tscs42xx.c index 7396a6e5277e..27b8c6ba72fa 100644 --- a/sound/soc/codecs/tscs42xx.c +++ b/sound/soc/codecs/tscs42xx.c @@ -389,7 +389,7 @@ static int dac_event(struct snd_soc_dapm_widget *w, mutex_lock(&tscs42xx->coeff_ram_lock); - if (tscs42xx->coeff_ram_synced == false) { + if (!tscs42xx->coeff_ram_synced) { ret = write_coeff_ram(component, tscs42xx->coeff_ram, 0x00, COEFF_RAM_COEFF_COUNT); if (ret < 0) |