aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/util/c++/clang.cpp
diff options
context:
space:
mode:
authorKuninori Morimoto <[email protected]>2018-12-14 11:29:42 +0900
committerMark Brown <[email protected]>2018-12-14 11:44:34 +0000
commitb8b89f5ee0b2555fa5a9d778685d2d6fb5122bb9 (patch)
tree7c083695ffc902919668d767309bd3b8c317b333 /tools/perf/util/c++/clang.cpp
parentde17f14ea576d8a0f2932404467fa916542da94d (diff)
ASoC: simple-card-utils: fixup asoc_simple_card_get_dai_id() ID method
commit b6f3fc005a2c8 ("ASoC: simple-card-utils: fixup asoc_simple_card_get_dai_id() counting") fixuped getting DAI ID method. It will get DAI ID from OF graph "port", but, we want to consider about "endpoint", too. And, we also want to keep compatibility. This patch fixup it as if (driver has specified DAI ID) use it as DAI ID else if (OF graph endpoint has reg) use it as DAI ID else if (OF graph port has reg) use it as DAI ID else use endpoint count as DAI ID Fixes: commit b6f3fc005a2c8 ("ASoC: simple-card-utils: fixup asoc_simple_card_get_dai_id() counting") Reported-by: Tony Lindgren <[email protected]> Signed-off-by: Kuninori Morimoto <[email protected]> Tested-by: Tony Lindgren <[email protected]> Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'tools/perf/util/c++/clang.cpp')
0 files changed, 0 insertions, 0 deletions