aboutsummaryrefslogtreecommitdiffstats
path: root/sound/soc/codecs/cs4270.c
diff options
context:
space:
mode:
authorMark Brown <broonie@kernel.org>2018-08-09 14:47:05 +0100
committerMark Brown <broonie@kernel.org>2018-08-09 14:47:05 +0100
commit4aa5db22d35588e1a5d2ee88472348ea73d9fb23 (patch)
tree67c98488983a71305e24940930d6e27a96d54db2 /sound/soc/codecs/cs4270.c
parentMerge branch 'asoc-4.18' into asoc-linus (diff)
parentASoC: adav80x: mark expected switch fall-through (diff)
downloadlinux-dev-4aa5db22d35588e1a5d2ee88472348ea73d9fb23.tar.xz
linux-dev-4aa5db22d35588e1a5d2ee88472348ea73d9fb23.zip
Merge branch 'asoc-4.19' into asoc-next
Diffstat (limited to 'sound/soc/codecs/cs4270.c')
-rw-r--r--sound/soc/codecs/cs4270.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/soc/codecs/cs4270.c b/sound/soc/codecs/cs4270.c
index 2a7a4168c072..3c266eeb89bf 100644
--- a/sound/soc/codecs/cs4270.c
+++ b/sound/soc/codecs/cs4270.c
@@ -219,7 +219,7 @@ static bool cs4270_reg_is_volatile(struct device *dev, unsigned int reg)
{
/* Unreadable registers are considered volatile */
if ((reg < CS4270_FIRSTREG) || (reg > CS4270_LASTREG))
- return 1;
+ return true;
return reg == CS4270_CHIPID;
}