summaryrefslogtreecommitdiffstats
path: root/kernel/sound/soc/codecs/ssm4567.c
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/sound/soc/codecs/ssm4567.c')
-rw-r--r--kernel/sound/soc/codecs/ssm4567.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/kernel/sound/soc/codecs/ssm4567.c b/kernel/sound/soc/codecs/ssm4567.c
index e619d5651..080c78e88 100644
--- a/kernel/sound/soc/codecs/ssm4567.c
+++ b/kernel/sound/soc/codecs/ssm4567.c
@@ -352,6 +352,11 @@ static int ssm4567_set_power(struct ssm4567 *ssm4567, bool enable)
regcache_cache_only(ssm4567->regmap, !enable);
if (enable) {
+ ret = regmap_write(ssm4567->regmap, SSM4567_REG_SOFT_RESET,
+ 0x00);
+ if (ret)
+ return ret;
+
ret = regmap_update_bits(ssm4567->regmap,
SSM4567_REG_POWER_CTRL,
SSM4567_POWER_SPWDN, 0x00);