ASoC: topology: suppress probe deferral errors
authorJohan Hovold <johan+linaro@kernel.org>
Wed, 5 Jul 2023 12:30:17 +0000 (14:30 +0200)
committerMark Brown <broonie@kernel.org>
Thu, 6 Jul 2023 12:46:31 +0000 (13:46 +0100)
commitb6c3bdda3a7e43acfcec711ce20e7cfe44744740
tree2105a6d07d0ee78b7ea1e0d73397e682f09ef253
parenta5475829adcc600bc69ee9ff7c9e3e43fb4f8d30
ASoC: topology: suppress probe deferral errors

Suppress probe deferral error messages when loading topologies and
creating frontend links to avoid spamming the logs when a component has
not yet been registered:

    snd-sc8280xp sound: ASoC: adding FE link failed
    snd-sc8280xp sound: ASoC: topology: could not load header: -517

Note that dev_err_probe() is not used as the topology component can be
probed and removed while the underlying platform device remains bound to
its driver.

Signed-off-by: Johan Hovold <johan+linaro@kernel.org>
Link: https://lore.kernel.org/r/20230705123018.30903-8-johan+linaro@kernel.org
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/soc-topology.c