Commit 05722a0
ASoC: soc-core.c: add snd_soc_{of_}get_dlc()
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 existing functions
uses it.
Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Link: https://lore.kernel.org/r/87r0q6dgnm.wl-kuninori.morimoto.gx@renesas.com
Signed-off-by: Mark Brown <broonie@kernel.org>1 parent 0247488 commit 05722a0
2 files changed
Lines changed: 46 additions & 13 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1309 | 1309 | | |
1310 | 1310 | | |
1311 | 1311 | | |
| 1312 | + | |
| 1313 | + | |
| 1314 | + | |
| 1315 | + | |
| 1316 | + | |
| 1317 | + | |
1312 | 1318 | | |
1313 | 1319 | | |
1314 | 1320 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3257 | 3257 | | |
3258 | 3258 | | |
3259 | 3259 | | |
3260 | | - | |
3261 | | - | |
| 3260 | + | |
3262 | 3261 | | |
3263 | 3262 | | |
3264 | 3263 | | |
| |||
3270 | 3269 | | |
3271 | 3270 | | |
3272 | 3271 | | |
3273 | | - | |
| 3272 | + | |
3274 | 3273 | | |
3275 | 3274 | | |
3276 | 3275 | | |
| |||
3301 | 3300 | | |
3302 | 3301 | | |
3303 | 3302 | | |
3304 | | - | |
3305 | | - | |
3306 | | - | |
| 3303 | + | |
| 3304 | + | |
| 3305 | + | |
| 3306 | + | |
3307 | 3307 | | |
3308 | 3308 | | |
3309 | 3309 | | |
| |||
3319 | 3319 | | |
3320 | 3320 | | |
3321 | 3321 | | |
3322 | | - | |
| 3322 | + | |
3323 | 3323 | | |
3324 | | - | |
3325 | | - | |
| 3324 | + | |
| 3325 | + | |
| 3326 | + | |
| 3327 | + | |
3326 | 3328 | | |
3327 | | - | |
| 3329 | + | |
3328 | 3330 | | |
3329 | 3331 | | |
| 3332 | + | |
| 3333 | + | |
| 3334 | + | |
3330 | 3335 | | |
3331 | | - | |
| 3336 | + | |
3332 | 3337 | | |
3333 | 3338 | | |
3334 | 3339 | | |
3335 | | - | |
| 3340 | + | |
| 3341 | + | |
| 3342 | + | |
| 3343 | + | |
| 3344 | + | |
| 3345 | + | |
| 3346 | + | |
| 3347 | + | |
| 3348 | + | |
3336 | 3349 | | |
3337 | | - | |
| 3350 | + | |
| 3351 | + | |
| 3352 | + | |
| 3353 | + | |
| 3354 | + | |
| 3355 | + | |
| 3356 | + | |
| 3357 | + | |
| 3358 | + | |
| 3359 | + | |
| 3360 | + | |
| 3361 | + | |
| 3362 | + | |
| 3363 | + | |
| 3364 | + | |
3338 | 3365 | | |
3339 | 3366 | | |
3340 | 3367 | | |
| |||
0 commit comments