OSDN Git Service

ASoC: core: suppress probe deferral errors
authorJohan Hovold <johan+linaro@kernel.org>
Wed, 5 Jul 2023 12:30:18 +0000 (14:30 +0200)
committerMark Brown <broonie@kernel.org>
Thu, 6 Jul 2023 12:46:32 +0000 (13:46 +0100)
commitf09b6e96796056633453cb0d07b720d09f1efc68
treed7d35847fbabce844a50cdef2db57c64df79f97c
parentb6c3bdda3a7e43acfcec711ce20e7cfe44744740
ASoC: core: suppress probe deferral errors

Suppress probe deferral error messages when probing link components to
avoid spamming the logs, for example, if a required component has not
yet been registered:

snd-sc8280xp sound: ASoC: failed to instantiate card -517

Note that dev_err_probe() is not used as the card can be unbound and
rebound 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-9-johan+linaro@kernel.org
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/soc-core.c