summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/stackcollapse.py
diff options
context:
space:
mode:
authorSrinivas Kandagatla <srinivas.kandagatla@oss.qualcomm.com>2026-09-07 10:14:21 +0100
committerVinod Koul <vkoul@kernel.org>2026-09-08 19:17:10 +0530
commit659d6f148a88467817e9531a6c793ae022661bab (patch)
tree9059aefcd849464df0730266645d53b1899e3f77 /tools/perf/scripts/python/stackcollapse.py
parent1f26ff6aab686c5da7ef749bd14049d1eb3029e4 (diff)
downloadlinux-next-659d6f148a88467817e9531a6c793ae022661bab.tar.gz
linux-next-659d6f148a88467817e9531a6c793ae022661bab.zip
soundwire: bus: iterate DT compatibles for class-ID match
sdw_of_find_slaves() reads only the first "compatible" string on a SoundWire slave DT node and rejects the node if that string does not parse as sdwVMMMPPPPXX. This prevents the standard DT convention of placing a vendor-variant compatible ahead of the SoundWire class-ID compatible: compatible = "vendor,partname", "sdwVMMMPPPPXX"; Iterate every string in the compatible property and accept the first one that parses as a SoundWire class ID. The vendor-variant string remains visible to driver probe callbacks via device_is_compatible() for mode/variant disambiguation. Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@oss.qualcomm.com> Reviewed-by: Charles Keepax <ckeepax@opensource.cirrus.com> Link: https://patch.msgid.link/20260907091421.837917-1-srinivas.kandagatla@oss.qualcomm.com Signed-off-by: Vinod Koul <vkoul@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions