summaryrefslogtreecommitdiffstats
path: root/Documentation/devicetree/bindings/sound
diff options
context:
space:
mode:
authorKuninori Morimoto <kuninori.morimoto.gx@renesas.com>2018-12-14 03:29:42 +0100
committerMark Brown <broonie@kernel.org>2018-12-14 12:44:34 +0100
commitb8b89f5ee0b2555fa5a9d778685d2d6fb5122bb9 (patch)
tree7c083695ffc902919668d767309bd3b8c317b333 /Documentation/devicetree/bindings/sound
parentASoC: core: Invoke pcm_new() for all DAI-link (diff)
downloadlinux-b8b89f5ee0b2555fa5a9d778685d2d6fb5122bb9.tar.xz
linux-b8b89f5ee0b2555fa5a9d778685d2d6fb5122bb9.zip
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 <tony@atomide.com> Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> Tested-by: Tony Lindgren <tony@atomide.com> Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'Documentation/devicetree/bindings/sound')
0 files changed, 0 insertions, 0 deletions