aboutsummaryrefslogtreecommitdiff
path: root/include/sound
diff options
context:
space:
mode:
authorGravatar Stefan Binding <sbinding@opensource.cirrus.com> 2022-05-25 14:16:30 +0100
committerGravatar Mark Brown <broonie@kernel.org> 2022-06-06 12:34:34 +0100
commit94e0bc317ad241c022a6bb311b3a28b4d51ea8b6 (patch)
tree40b72196dd4af2fca41878d4ebae2a9c300d8317 /include/sound
parentMerge existing fixes from asoc/for-5.19 into new branch (diff)
downloadlinux-94e0bc317ad241c022a6bb311b3a28b4d51ea8b6.tar.gz
linux-94e0bc317ad241c022a6bb311b3a28b4d51ea8b6.tar.bz2
linux-94e0bc317ad241c022a6bb311b3a28b4d51ea8b6.zip
ASoC: cs35l41: Move cs35l41 exit hibernate function into shared code
CS35L41 HDA Driver will support hibernation using DSP firmware, move the exit hibernate function into shared code so this can be reused. Acked-by: Charles Keepax <ckeepax@opensource.cirrus.com> Signed-off-by: Stefan Binding <sbinding@opensource.cirrus.com> Signed-off-by: Vitaly Rodionov <vitalyr@opensource.cirrus.com> Link: https://lore.kernel.org/r/20220525131638.5512-10-vitalyr@opensource.cirrus.com Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'include/sound')
-rw-r--r--include/sound/cs35l41.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/sound/cs35l41.h b/include/sound/cs35l41.h
index 8972fa697622..7759f2e14d96 100644
--- a/include/sound/cs35l41.h
+++ b/include/sound/cs35l41.h
@@ -881,6 +881,7 @@ void cs35l41_configure_cs_dsp(struct device *dev, struct regmap *reg, struct cs_
int cs35l41_set_cspl_mbox_cmd(struct device *dev, struct regmap *regmap,
enum cs35l41_cspl_mbox_cmd cmd);
int cs35l41_write_fs_errata(struct device *dev, struct regmap *regmap);
+int cs35l41_exit_hibernate(struct device *dev, struct regmap *regmap);
int cs35l41_init_boost(struct device *dev, struct regmap *regmap,
struct cs35l41_hw_cfg *hw_cfg);
bool cs35l41_safe_reset(struct regmap *regmap, enum cs35l41_boost_type b_type);