diff options
| author | Banajit Goswami <bgoswami@codeaurora.org> | 2015-08-20 18:52:39 -0700 |
|---|---|---|
| committer | David Keitel <dkeitel@codeaurora.org> | 2016-03-23 20:11:11 -0700 |
| commit | 83731f8574fb29189ff383dd8df6bb29e9f6245d (patch) | |
| tree | 9f0e76f30837a77b864b24023b98eda829613923 /include | |
| parent | 568a7edc434b047088c27e04cfab4914a419b06b (diff) | |
ASoC: soc-core: export function to find components
Drivers might need to use the ASoC core function to
find out whether a particular component is already
registered with ALSA core or not. Export the function
so that drivers can use it outside of the file.
Change-Id: I13e4a053de085974b0b53c392a9453e46f1aa66d
Signed-off-by: Banajit Goswami <bgoswami@codeaurora.org>
Diffstat (limited to 'include')
| -rw-r--r-- | include/sound/soc.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/sound/soc.h b/include/sound/soc.h index 8f57adfae53d..229c23815eff 100644 --- a/include/sound/soc.h +++ b/include/sound/soc.h @@ -1469,6 +1469,8 @@ int snd_soc_component_update_bits_async(struct snd_soc_component *component, void snd_soc_component_async_complete(struct snd_soc_component *component); int snd_soc_component_test_bits(struct snd_soc_component *component, unsigned int reg, unsigned int mask, unsigned int value); +struct snd_soc_component *soc_find_component( + const struct device_node *of_node, const char *name); #ifdef CONFIG_REGMAP |
