Re: [PATCH] ASoC: soc-core: Create device_link to ensure correct suspend order
From: Mark Brown
Date: Tue Jun 02 2026 - 09:39:44 EST
On Mon, Jun 01, 2026 at 03:28:35PM +0100, Richard Fitzgerald wrote:
> + for_each_card_components(card, component) {
> + if (!device_link_add(card->dev, component->dev,
> + DL_FLAG_AUTOREMOVE_CONSUMER)) {
> + dev_warn(card->dev, "Failed to create device link to %s\n",
> + dev_name(component->dev));
> + ret = -EINVAL;
> + goto probe_end;
Do we still have devices registering separate components with the same
device for DMA and DAI operations? They'd end up duplicating the links
here.
Attachment:
signature.asc
Description: PGP signature