From 657a9dbb101a67eb03329b69114f723c89ff9477 Mon Sep 17 00:00:00 2001 From: Aditya Bavanari Date: Fri, 12 Jun 2020 19:12:39 +0530 Subject: [PATCH] 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 --- include/sound/soc.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/sound/soc.h b/include/sound/soc.h index 110404faa398..9c3e6f44b94a 100644 --- a/include/sound/soc.h +++ b/include/sound/soc.h @@ -1368,6 +1368,8 @@ 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); +struct snd_soc_component *soc_find_component_locked( + const struct device_node *of_node, const char *name); /* component wide operations */ int snd_soc_component_set_sysclk(struct snd_soc_component *component,