diff options
| author | Srinivas Kandagatla <srinivas.kandagatla@oss.qualcomm.com> | 2026-09-25 17:10:46 +0100 |
|---|---|---|
| committer | Mark Brown <broonie@kernel.org> | 2026-09-29 12:50:04 +0100 |
| commit | e0e876c99f280fd00156a6a11eace1f91ea883f5 (patch) | |
| tree | 6107f9545b7ee3c995e06562212ff3b997a13dd2 /scripts/Makefile.thinlto | |
| parent | 3273ec3e149ade420500014d442e4159bcc0d264 (diff) | |
| download | linux-e0e876c99f280fd00156a6a11eace1f91ea883f5.tar.gz linux-e0e876c99f280fd00156a6a11eace1f91ea883f5.zip | |
ASoC: SDCA: class_function: xlate sound-dai cell by entity index
sdca_asoc_populate_dais() sets each DAI id from the SDCA Function's
entity array index. ASoC's default of_xlate_dai_name treats the
phandle cell as a positional index into the DAI list, so on a Function
with non-DAI entries between dataport entities a sound-dai phandle
resolves to the wrong DAI.
Register a custom of_xlate_dai_name that walks the entity array and
returns the dataport entity whose array index matches the cell value.
Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@oss.qualcomm.com>
Reviewed-by: Charles Keepax <ckeepax@opensource.cirrus.com>
Link: https://patch.msgid.link/20260925161049.758913-6-srinivas.kandagatla@oss.qualcomm.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions
