summaryrefslogtreecommitdiffstats
path: root/sound/soc/generic/simple-card.c
diff options
context:
space:
mode:
authorKuninori Morimoto <kuninori.morimoto.gx@renesas.com>2019-07-10 17:01:12 +0900
committerMark Brown <broonie@kernel.org>2019-07-10 16:25:45 +0100
commit794fcee8da3c0c8a01b08ecad1c181cb0a622868 (patch)
tree5c97f474dd239c6e2eb94aaf1534063588b7adde /sound/soc/generic/simple-card.c
parent52db6685932e326ed607644ab7ebdae8c194adda (diff)
downloadlinux-794fcee8da3c0c8a01b08ecad1c181cb0a622868.tar.gz
linux-794fcee8da3c0c8a01b08ecad1c181cb0a622868.tar.bz2
linux-794fcee8da3c0c8a01b08ecad1c181cb0a622868.zip
ASoC: simple-card-utils: care no Platform for DPCM
commit 34614739988ad ("ASoC: soc-core: support dai_link with platforms_num != 1") supports multi Platform, and commit 9f3eb91753451 ("ASoC: simple-card-utils: consider CPU-Platform possibility") removed no Platform from simple-card. Multi Platform is now checking both Platform name/of_node are NULL case. But in normal case, DPCM be doesn't have Platform. asoc_simple_canonicalize_platform() try to use CPU of_node to Platform (This is needed for DMAEngine platform case), but it still might be NULL at DPCM be. This patch try to use no Platform after that if Platform of_node is still NULL. It can't probe without this patch. Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> Link: https://lore.kernel.org/r/87muhmgw2o.wl-kuninori.morimoto.gx@renesas.com Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/generic/simple-card.c')
0 files changed, 0 insertions, 0 deletions