ASoC: cs35l56: Move runtime suspend/resume to shared library
authorRichard Fitzgerald <rf@opensource.cirrus.com>
Fri, 21 Jul 2023 13:21:14 +0000 (14:21 +0100)
committerMark Brown <broonie@kernel.org>
Sun, 23 Jul 2023 22:40:18 +0000 (23:40 +0100)
commit9974d5b57697770cba2a99c6fe925d01152cd544
treeb89710651ac3a78b3796b8635909626c004446cb
parent8a731fd37f8b33026e545f5ee5cdd7b9a837cbeb
ASoC: cs35l56: Move runtime suspend/resume to shared library

The majority of runtime_suspend and runtime_resume handling
doesn't have anything specific to the ASoC driver, so can be
shared by the HDA driver. Move this code into the shared
library.

Signed-off-by: Richard Fitzgerald <rf@opensource.cirrus.com>
Acked-by: Mark Brown <broonie@kernel.org>
Link: https://lore.kernel.org/r/20230721132120.5523-6-rf@opensource.cirrus.com
Signed-off-by: Mark Brown <broonie@kernel.org>
include/sound/cs35l56.h
sound/soc/codecs/cs35l56-sdw.c
sound/soc/codecs/cs35l56-shared.c
sound/soc/codecs/cs35l56.c
sound/soc/codecs/cs35l56.h