diff options
author | Robert Hancock <robert.hancock@calian.com> | 2022-01-07 15:47:10 -0600 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2022-01-11 13:45:28 +0000 |
commit | a64067f4cecaaa4deed8e33d3266bc0bcc189142 (patch) | |
tree | f1eb076bcc0d7f24e3eded06e7ed4b427f6266f9 /kernel/kexec.c | |
parent | e958b5884725dac86d36c1e7afe5a55f31feb0b2 (diff) | |
download | linux-a64067f4cecaaa4deed8e33d3266bc0bcc189142.tar.gz linux-a64067f4cecaaa4deed8e33d3266bc0bcc189142.tar.bz2 linux-a64067f4cecaaa4deed8e33d3266bc0bcc189142.zip |
ASoC: simple-card: fix probe failure on platform component
A previous change to simple-card resulted in asoc_simple_parse_dai
attempting to retrieve the dai_name for platform components, which are
unlikely to have a valid DAI name. This caused simple-card to fail to
probe when using the xlnx_formatter_pcm as the platform component, since
it does not register any DAI components.
Since the dai_name is not used for platform components, just skip trying
to retrieve it for those.
Fixes: f107294c6422 ("ASoC: simple-card: support snd_soc_dai_link_component style for cpu")
Signed-off-by: Robert Hancock <robert.hancock@calian.com>
Link: https://lore.kernel.org/r/20220107214711.1100162-6-robert.hancock@calian.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'kernel/kexec.c')
0 files changed, 0 insertions, 0 deletions