diff options
author | Lucas Tanure <tanureal@opensource.cirrus.com> | 2022-04-13 09:37:15 +0100 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2022-04-13 10:42:33 +0200 |
commit | fcad8950a50dec5962b1b7b18a285daf7c137178 (patch) | |
tree | fd36f29abd6ed195c37e7d3929315486b5946fb0 /include | |
parent | 2603c974b45dbfeece80474ee32173756aac3ba1 (diff) | |
download | linux-fcad8950a50dec5962b1b7b18a285daf7c137178.tar.bz2 |
ALSA: cs35l41: Move cs35l41_gpio_config to shared lib
ASoC and HDA can use a single function to configure the chip gpios.
Signed-off-by: Lucas Tanure <tanureal@opensource.cirrus.com>
Acked-by: Charles Keepax <ckeepax@opensource.cirrus.com>
Link: https://lore.kernel.org/r/20220413083728.10730-4-tanureal@opensource.cirrus.com
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'include')
-rw-r--r-- | include/sound/cs35l41.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/sound/cs35l41.h b/include/sound/cs35l41.h index 4200379e0c26..e312eb1f6e48 100644 --- a/include/sound/cs35l41.h +++ b/include/sound/cs35l41.h @@ -798,5 +798,6 @@ int cs35l41_set_channels(struct device *dev, struct regmap *reg, 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); +int cs35l41_gpio_config(struct regmap *regmap, struct cs35l41_hw_cfg *hw_cfg); #endif /* __CS35L41_H */ |