Merge "ASoC: wsa881x: Fix wsa881x speaker damage"

This commit is contained in:
Linux Build Service Account 2017-09-06 01:42:39 -07:00 committed by Gerrit - the friendly Code Review server
commit b92b0cea6d

View file

@ -968,6 +968,8 @@ static void wsa881x_init(struct snd_soc_codec *codec)
wsa881x->version = snd_soc_read(codec, WSA881X_CHIP_ID1); wsa881x->version = snd_soc_read(codec, WSA881X_CHIP_ID1);
wsa881x_regmap_defaults(wsa881x->regmap, wsa881x->version); 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 */ /* Bring out of analog reset */
snd_soc_update_bits(codec, WSA881X_CDC_RST_CTL, 0x02, 0x02); snd_soc_update_bits(codec, WSA881X_CDC_RST_CTL, 0x02, 0x02);
/* Bring out of digital reset */ /* Bring out of digital reset */