mbox series

[0/2] ASoC: soc-core: add snd_soc_of_lookup_component()

Message ID 1545642133-16120-1-git-send-email-rohitkr@codeaurora.org (mailing list archive)
Headers show
Series ASoC: soc-core: add snd_soc_of_lookup_component() | expand

Message

Rohit Kumar Dec. 24, 2018, 9:02 a.m. UTC
Platform DAI component probe is not called if it is not
present in component list during sound card registration.
Add snd_soc_of_lookup_component() to get component info from
device_node. This can be used by machine driver to make sure that
card components are registered before calling snd_soc_register_card().


Ajit Pandey (2):
  ASoC: soc-core: add snd_soc_of_lookup_component()
  ASoC: qcom: defer probe if platform dai is not registered

 include/sound/soc.h     |  1 +
 sound/soc/qcom/common.c |  9 +++++++++
 sound/soc/soc-core.c    | 28 ++++++++++++++++++++++++++++
 3 files changed, 38 insertions(+)