summaryrefslogtreecommitdiff
path: root/sound/soc/codecs/cs42l51.h
diff options
context:
space:
mode:
authorOlivier Moysan <olivier.moysan@st.com>2019-04-03 16:23:36 +0300
committerMark Brown <broonie@kernel.org>2019-04-04 16:56:08 +0300
commit75a714823e89ceeb168092b4c4d0a3f52b415461 (patch)
tree0e1ff30f6800146e29ededd470b3d3c4ea62570e /sound/soc/codecs/cs42l51.h
parent2f7c4ce09a43457666592f36e18a5db58cca86a0 (diff)
downloadlinux-75a714823e89ceeb168092b4c4d0a3f52b415461.tar.xz
ASoC: cs42l51: add power management
Add sleep PM callbacks to support system low power modes. Signed-off-by: Olivier Moysan <olivier.moysan@st.com> Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/codecs/cs42l51.h')
-rw-r--r--sound/soc/codecs/cs42l51.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/sound/soc/codecs/cs42l51.h b/sound/soc/codecs/cs42l51.h
index aef0ede82c7b..79dee01137c8 100644
--- a/sound/soc/codecs/cs42l51.h
+++ b/sound/soc/codecs/cs42l51.h
@@ -23,6 +23,8 @@ struct device;
extern const struct regmap_config cs42l51_regmap;
int cs42l51_probe(struct device *dev, struct regmap *regmap);
int cs42l51_remove(struct device *dev);
+int __maybe_unused cs42l51_suspend(struct device *dev);
+int __maybe_unused cs42l51_resume(struct device *dev);
extern const struct of_device_id cs42l51_of_match[];
#define CS42L51_CHIP_ID 0x1B