summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLinux Build Service Account <lnxbuild@quicinc.com>2017-09-06 01:42:39 -0700
committerGerrit - the friendly Code Review server <code-review@localhost>2017-09-06 01:42:39 -0700
commitb92b0cea6dd3680eebc780c7d4b8bf5928668d20 (patch)
tree85546d0dc0110a8346fef8c36dd04a6912cd8507
parente91bfdb17610ab3e8ae912a2844ba9e5be2afe87 (diff)
parent7a068e6f02697fb00abdbe62e6711a0d29bc58db (diff)
Merge "ASoC: wsa881x: Fix wsa881x speaker damage"
-rw-r--r--sound/soc/codecs/wsa881x.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/sound/soc/codecs/wsa881x.c b/sound/soc/codecs/wsa881x.c
index 058f6c5fa676..e4f6df077d98 100644
--- a/sound/soc/codecs/wsa881x.c
+++ b/sound/soc/codecs/wsa881x.c
@@ -968,6 +968,8 @@ static void wsa881x_init(struct snd_soc_codec *codec)
wsa881x->version = snd_soc_read(codec, WSA881X_CHIP_ID1);
wsa881x_regmap_defaults(wsa881x->regmap, wsa881x->version);
+ /* Enable software reset output from soundwire slave */
+ snd_soc_update_bits(codec, WSA881X_SWR_RESET_EN, 0x07, 0x07);
/* Bring out of analog reset */
snd_soc_update_bits(codec, WSA881X_CDC_RST_CTL, 0x02, 0x02);
/* Bring out of digital reset */