diff options
author | Mark Brown <broonie@kernel.org> | 2023-05-16 00:17:58 +0900 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2023-05-16 00:17:58 +0900 |
commit | fe0d5b9a4d6bb1781b462ab5f649d2085492643a (patch) | |
tree | f86811ac28bcb430b0195e97a59dd91d60c26ed4 /include | |
parent | 8d7c1a577598e4c709855b07c8df92b0c6fc4220 (diff) | |
parent | 95d06196c83c9dc1b6fd6cda07a1bac54ca2d568 (diff) | |
download | linux-stable-fe0d5b9a4d6bb1781b462ab5f649d2085492643a.tar.gz linux-stable-fe0d5b9a4d6bb1781b462ab5f649d2085492643a.tar.bz2 linux-stable-fe0d5b9a4d6bb1781b462ab5f649d2085492643a.zip |
ASoC: Factor out control notification support
Merge series from Charles Keepax <ckeepax@opensource.cirrus.com>:
This series introduces and uses a helper for notifying control changes
to userspace.
Diffstat (limited to 'include')
-rw-r--r-- | include/sound/soc-component.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/sound/soc-component.h b/include/sound/soc-component.h index 0814ed143864..0b47603c9db2 100644 --- a/include/sound/soc-component.h +++ b/include/sound/soc-component.h @@ -454,6 +454,10 @@ int snd_soc_component_force_enable_pin_unlocked( struct snd_soc_component *component, const char *pin); +/* component controls */ +int snd_soc_component_notify_control(struct snd_soc_component *component, + const char * const ctl); + /* component driver ops */ int snd_soc_component_open(struct snd_soc_component *component, struct snd_pcm_substream *substream); |