]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: cs42l42: Split cs42l42_resume into two functions
authorRichard Fitzgerald <rf@opensource.cirrus.com>
Thu, 15 Sep 2022 09:44:38 +0000 (11:44 +0200)
committerMark Brown <broonie@kernel.org>
Mon, 19 Sep 2022 17:05:31 +0000 (18:05 +0100)
commit781d81dd360ba4fa07705e65cbf6853726b8346f
tree83dfe0f89ff37dba9d3b59bf79abe17a6a7fcdfd
parent93113852f29e12ef4cf12e64d610a948279802b5
ASoC: cs42l42: Split cs42l42_resume into two functions

On SoundWire the system resume cannot restore registers until the
host controller has re-enumerated the peripheral.

This patch splits cs42l42_resume() into two functions, one to
power up and the other to restore registers, ready for adding
SoundWire support.

Signed-off-by: Richard Fitzgerald <rf@opensource.cirrus.com>
Signed-off-by: Martin PoviĊĦer <povik+lin@cutebit.org>
Link: https://lore.kernel.org/r/20220915094444.11434-6-povik+lin@cutebit.org
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/cs42l42.c