summaryrefslogtreecommitdiff
path: root/include/sound
diff options
context:
space:
mode:
authorLucas Tanure <tanureal@opensource.cirrus.com>2021-12-17 14:57:04 +0300
committerMark Brown <broonie@kernel.org>2021-12-31 16:21:06 +0300
commite8e4fcc047c6e0c5411faeb8cc29aed2e5036a00 (patch)
treef92151c3143fb1a7514845616d252f2f9610b951 /include/sound
parent3bc3e3da657f17c14df8ae8fab58183407bd7521 (diff)
downloadlinux-e8e4fcc047c6e0c5411faeb8cc29aed2e5036a00.tar.xz
ASoC: cs35l41: Create shared function for boost configuration
ASoC and HDA will use the same registers to configure internal boost for the device Signed-off-by: Lucas Tanure <tanureal@opensource.cirrus.com> Link: https://lore.kernel.org/r/20211217115708.882525-7-tanureal@opensource.cirrus.com Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'include/sound')
-rw-r--r--include/sound/cs35l41.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/sound/cs35l41.h b/include/sound/cs35l41.h
index 39d150f61382..29a527457b48 100644
--- a/include/sound/cs35l41.h
+++ b/include/sound/cs35l41.h
@@ -767,5 +767,7 @@ int cs35l41_register_errata_patch(struct device *dev, struct regmap *reg, unsign
int cs35l41_set_channels(struct device *dev, struct regmap *reg,
unsigned int tx_num, unsigned int *tx_slot,
unsigned int rx_num, unsigned int *rx_slot);
+int cs35l41_boost_config(struct device *dev, struct regmap *regmap, int boost_ind, int boost_cap,
+ int boost_ipk);
#endif /* __CS35L41_H */