summaryrefslogtreecommitdiff
path: root/sound/soc/codecs/aw88399.c
diff options
context:
space:
mode:
Diffstat (limited to 'sound/soc/codecs/aw88399.c')
-rw-r--r--sound/soc/codecs/aw88399.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/soc/codecs/aw88399.c b/sound/soc/codecs/aw88399.c
index 8dc2b8aa6832..bba59885242d 100644
--- a/sound/soc/codecs/aw88399.c
+++ b/sound/soc/codecs/aw88399.c
@@ -656,7 +656,7 @@ static int aw_dev_get_dsp_status(struct aw_device *aw_dev)
if (ret)
return ret;
if (!(reg_val & (~AW88399_WDT_CNT_MASK)))
- ret = -EPERM;
+ return -EPERM;
return 0;
}