I was just thinking if we need to future proof these functions. As you mentioned, currently these have limited usage (in topology.c) and should just be fine to address snd_soc_find_dai() for now.Sure. BTW, there are more such candidates which require 'lock' versionsoc_find_component() is static function, no need to care about mutex.
of these helpers.
For example: soc_find_component(), snd_soc_add/remove_pcm_runtime()
and snd_soc_register_dai().
other functions are indeed exported function, but is used from
topology.c which is calling it under mutex.