Loading include/sound/soc.h +2 −0 Original line number Original line Diff line number Diff line Loading @@ -1363,6 +1363,8 @@ int snd_soc_component_update_bits_async(struct snd_soc_component *component, void snd_soc_component_async_complete(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, int snd_soc_component_test_bits(struct snd_soc_component *component, unsigned int reg, unsigned int mask, unsigned int value); 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); /* component wide operations */ /* component wide operations */ int snd_soc_component_set_sysclk(struct snd_soc_component *component, int snd_soc_component_set_sysclk(struct snd_soc_component *component, Loading sound/soc/soc-core.c +12 −1 Original line number Original line Diff line number Diff line Loading @@ -718,7 +718,17 @@ EXPORT_SYMBOL_GPL(snd_soc_resume); static const struct snd_soc_dai_ops null_dai_ops = { static const struct snd_soc_dai_ops null_dai_ops = { }; }; static struct snd_soc_component *soc_find_component( /** * soc_find_component: find a component from component_list in ASoC core * * @of_node: of_node of the component to query. * @name: name of the component to query. * * function to find out if a component is already registered with ASoC core. * * Returns component handle for success, else NULL error. */ struct snd_soc_component *soc_find_component( const struct device_node *of_node, const char *name) const struct device_node *of_node, const char *name) { { struct snd_soc_component *component; struct snd_soc_component *component; Loading @@ -742,6 +752,7 @@ static struct snd_soc_component *soc_find_component( return NULL; return NULL; } } EXPORT_SYMBOL(soc_find_component); /** /** * snd_soc_find_dai - Find a registered DAI * snd_soc_find_dai - Find a registered DAI Loading Loading
include/sound/soc.h +2 −0 Original line number Original line Diff line number Diff line Loading @@ -1363,6 +1363,8 @@ int snd_soc_component_update_bits_async(struct snd_soc_component *component, void snd_soc_component_async_complete(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, int snd_soc_component_test_bits(struct snd_soc_component *component, unsigned int reg, unsigned int mask, unsigned int value); 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); /* component wide operations */ /* component wide operations */ int snd_soc_component_set_sysclk(struct snd_soc_component *component, int snd_soc_component_set_sysclk(struct snd_soc_component *component, Loading
sound/soc/soc-core.c +12 −1 Original line number Original line Diff line number Diff line Loading @@ -718,7 +718,17 @@ EXPORT_SYMBOL_GPL(snd_soc_resume); static const struct snd_soc_dai_ops null_dai_ops = { static const struct snd_soc_dai_ops null_dai_ops = { }; }; static struct snd_soc_component *soc_find_component( /** * soc_find_component: find a component from component_list in ASoC core * * @of_node: of_node of the component to query. * @name: name of the component to query. * * function to find out if a component is already registered with ASoC core. * * Returns component handle for success, else NULL error. */ struct snd_soc_component *soc_find_component( const struct device_node *of_node, const char *name) const struct device_node *of_node, const char *name) { { struct snd_soc_component *component; struct snd_soc_component *component; Loading @@ -742,6 +752,7 @@ static struct snd_soc_component *soc_find_component( return NULL; return NULL; } } EXPORT_SYMBOL(soc_find_component); /** /** * snd_soc_find_dai - Find a registered DAI * snd_soc_find_dai - Find a registered DAI Loading