]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
add snd_soc_{of_}get_dlc()
authorMark Brown <broonie@kernel.org>
Tue, 20 Jun 2023 23:56:00 +0000 (00:56 +0100)
committerMark Brown <broonie@kernel.org>
Tue, 20 Jun 2023 23:56:00 +0000 (00:56 +0100)
commit3067e020d361ed346957eb5e253911f7a3e18f59
treeb49042c0b0aaf588329d4472a52c11b5ad1ee184
parent0a08778126284481c300336f1ba3d7b1906851a5
parent0baa2c3abc525c79c21ce64a1722f4034d042ac9
add snd_soc_{of_}get_dlc()

Merge series from Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>:

Current soc-core.c has snd_soc_{of_}get_dai_name() to get DAI name
for dlc (snd_soc_dai_link_component). It gets .dai_name, but we need
.of_node too. Therefor user need to arrange.

It will be more useful if it gets both .dai_name and .of_node.
This patch adds snd_soc_{of_}get_dlc() for it, and convert to use it.