Re: [PATCH 2/2] ASoC: qcom: lpass macro / soundwire: retry deferred clock acquisition
From: Mark Brown
Date: Fri Nov 13 2026 - 14:44:09 EST
> drivers/soundwire/qcom.c | 37 +++++++++++++++++++++++-
> sound/soc/codecs/lpass-rx-macro.c | 45 ++++++++++++++++++++++++++----
> sound/soc/codecs/lpass-tx-macro.c | 45 ++++++++++++++++++++++++++----
> sound/soc/codecs/lpass-va-macro.c | 43 +++++++++++++++++++++++++---
> sound/soc/codecs/lpass-wsa-macro.c | 45 ++++++++++++++++++++++++++----
> 5 files changed, 195 insertions(+), 20 deletions(-)
You've not provided a Signed-off-by for this so I can't do anything with
it, please see Documentation/process/submitting-patches.rst for details
on what this is and why it's important.
There's also no changelog here.
> +/*
> + * Bounded retry for deferred clock providers. Clock-provider registration
> + * does not trigger deferred-probe retries, so a consumer that loses the
> + * probe-order race stays deferred forever. Wait up to 30 s for providers
> + * that are registered milliseconds later.
> + */
> +static struct clk *clk_get_retry(struct device *dev, const char *id)
> +{
> + struct clk *c;
> + int i;
This obviously isn't something that should be open coded in drivers,
this is going to be happening all over the place. The clock API and
driver core need to be adjusted so that we trigger deferred probe runs
when new resources appear.
--
Mark Brown <broonie@xxxxxxxxxx>