summaryrefslogtreecommitdiffstats
path: root/sound/soc
diff options
context:
space:
mode:
authorPierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>2019-01-04 20:02:43 -0600
committerMark Brown <broonie@kernel.org>2019-01-07 16:52:56 +0000
commit290da7a7e349566f0e1541b14f25b722f58f236b (patch)
treee470fda1a196fe9f05f9cfb3b5d783b9991a8e5d /sound/soc
parent577dc32f9a6fc20cd404e0eb965659e9271c78be (diff)
downloadlinux-290da7a7e349566f0e1541b14f25b722f58f236b.tar.bz2
ASoC: nau8824: fix boolean assignment
Reported by Coccinelle: nau8824.c:810:6-12: ERROR: Assignment of bool to non-0/1 constant 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')
-rw-r--r--sound/soc/codecs/nau8824.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/soc/codecs/nau8824.c b/sound/soc/codecs/nau8824.c
index 468d5143e2c4..87ed3dc496dc 100644
--- a/sound/soc/codecs/nau8824.c
+++ b/sound/soc/codecs/nau8824.c
@@ -807,7 +807,7 @@ static const struct snd_soc_dapm_route nau8824_dapm_routes[] = {
static bool nau8824_is_jack_inserted(struct nau8824 *nau8824)
{
struct snd_soc_jack *jack = nau8824->jack;
- bool insert = FALSE;
+ bool insert = false;
if (nau8824->irq && jack)
insert = jack->status & SND_JACK_HEADPHONE;