aboutsummaryrefslogtreecommitdiffstats
path: root/sound/soc/codecs/ssm4567.c
diff options
context:
space:
mode:
Diffstat (limited to 'sound/soc/codecs/ssm4567.c')
-rw-r--r--sound/soc/codecs/ssm4567.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/sound/soc/codecs/ssm4567.c b/sound/soc/codecs/ssm4567.c
index e619d5651b09..080c78e88e10 100644
--- a/sound/soc/codecs/ssm4567.c
+++ b/sound/soc/codecs/ssm4567.c
@@ -352,6 +352,11 @@ static int ssm4567_set_power(struct ssm4567 *ssm4567, bool enable)
352 regcache_cache_only(ssm4567->regmap, !enable); 352 regcache_cache_only(ssm4567->regmap, !enable);
353 353
354 if (enable) { 354 if (enable) {
355 ret = regmap_write(ssm4567->regmap, SSM4567_REG_SOFT_RESET,
356 0x00);
357 if (ret)
358 return ret;
359
355 ret = regmap_update_bits(ssm4567->regmap, 360 ret = regmap_update_bits(ssm4567->regmap,
356 SSM4567_REG_POWER_CTRL, 361 SSM4567_REG_POWER_CTRL,
357 SSM4567_POWER_SPWDN, 0x00); 362 SSM4567_POWER_SPWDN, 0x00);