ASoC: codecs: wsa881x: add runtime pm support
authorSrinivas Kandagatla <srinivas.kandagatla@linaro.org>
Mon, 28 Feb 2022 14:42:35 +0000 (14:42 +0000)
committerMark Brown <broonie@kernel.org>
Mon, 28 Feb 2022 22:01:25 +0000 (22:01 +0000)
commit8dd55245836119ee3636543b6c2597efd78e643d
tree26d4e26cae22550b2730da89e4e5f7a40ae4486e
parent46c81702e9228039eed367c7b451be3bb5fd7e45
ASoC: codecs: wsa881x: add runtime pm support

WSA SoundWire Controller does not support Clock stop and performs a soft reset
on suspend  resume path. Its recommended that WSA881x codecs connected to this
are also reset using a hard reset during suspend resume.

So this codec driver performs a hard reset during suspend resume cycle.

Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
Link: https://lore.kernel.org/r/20220228144235.24208-1-srinivas.kandagatla@linaro.org
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/wsa881x.c