summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sound/soc/codecs/wcd938x.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/soc/codecs/wcd938x.c b/sound/soc/codecs/wcd938x.c
index a8ebfaf077cd..cb22fdf812f4 100644
--- a/sound/soc/codecs/wcd938x.c
+++ b/sound/soc/codecs/wcd938x.c
@@ -1186,7 +1186,7 @@ static bool wcd938x_writeable_register(struct device *dev, unsigned int reg)
static bool wcd938x_volatile_register(struct device *dev, unsigned int reg)
{
if (reg <= WCD938X_BASE_ADDRESS)
- return 0;
+ return false;
if (reg == WCD938X_DIGITAL_SWR_TX_CLK_RATE)
return true;