diff options
author | Lucas Tanure <tanureal@opensource.cirrus.com> | 2021-12-17 12:57:04 +0100 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2021-12-31 14:21:06 +0100 |
commit | e8e4fcc047c6e0c5411faeb8cc29aed2e5036a00 (patch) | |
tree | f92151c3143fb1a7514845616d252f2f9610b951 /include/sound/cs35l41.h | |
parent | ASoC: cs35l41: Create shared function for setting channels (diff) | |
download | linux-e8e4fcc047c6e0c5411faeb8cc29aed2e5036a00.tar.xz linux-e8e4fcc047c6e0c5411faeb8cc29aed2e5036a00.zip |
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/cs35l41.h')
-rw-r--r-- | include/sound/cs35l41.h | 2 |
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 */ |