soc: soc-core: Add soc_find_component_locked definition

Add function definition for soc_find_component_locked.

Change-Id: I15ac9c81c8f564d1b2bc768d4758690301e26c44
Signed-off-by: Aditya Bavanari <abavanar@codeaurora.org>
This commit is contained in:
Aditya Bavanari 2020-06-12 19:12:39 +05:30 committed by Gerrit - the friendly Code Review server
parent 01944e4a8a
commit 657a9dbb10

View file

@ -1368,6 +1368,8 @@ 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( 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 *soc_find_component_locked(
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,