diff options
author | Richard Fitzgerald <rf@opensource.cirrus.com> | 2023-07-21 15:21:14 +0200 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2023-07-24 00:40:18 +0200 |
commit | 9974d5b57697770cba2a99c6fe925d01152cd544 (patch) | |
tree | b89710651ac3a78b3796b8635909626c004446cb /include/sound | |
parent | ASoC: cs35l56: Move utility functions to shared file (diff) | |
download | linux-9974d5b57697770cba2a99c6fe925d01152cd544.tar.xz linux-9974d5b57697770cba2a99c6fe925d01152cd544.zip |
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>
Diffstat (limited to 'include/sound')
-rw-r--r-- | include/sound/cs35l56.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/sound/cs35l56.h b/include/sound/cs35l56.h index 3d2875094a21..e48f662dcbce 100644 --- a/include/sound/cs35l56.h +++ b/include/sound/cs35l56.h @@ -281,6 +281,8 @@ void cs35l56_system_reset(struct cs35l56_base *cs35l56_base, bool is_soundwire); int cs35l56_irq_request(struct cs35l56_base *cs35l56_base, int irq); irqreturn_t cs35l56_irq(int irq, void *data); int cs35l56_is_fw_reload_needed(struct cs35l56_base *cs35l56_base); +int cs35l56_runtime_suspend_common(struct cs35l56_base *cs35l56_base); +int cs35l56_runtime_resume_common(struct cs35l56_base *cs35l56_base, bool is_soundwire); int cs35l56_get_bclk_freq_id(unsigned int freq); void cs35l56_fill_supply_names(struct regulator_bulk_data *data); |