Patch "ASoC: audio-graph-card2: Purge absent supplies for device tree nodes" has been added to the 6.11-stable tree

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



This is a note to let you know that I've just added the patch titled

    ASoC: audio-graph-card2: Purge absent supplies for device tree nodes

to the 6.11-stable tree which can be found at:
    http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary

The filename of the patch is:
     asoc-audio-graph-card2-purge-absent-supplies-for-dev.patch
and it can be found in the queue-6.11 subdirectory.

If you, or anyone else, feels it should not be added to the stable tree,
please let <stable@xxxxxxxxxxxxxxx> know about it.



commit 25b31d85d481836124fa12673c6331c98e35c685
Author: John Watts <contact@xxxxxxxxxx>
Date:   Fri Nov 8 12:37:15 2024 +1100

    ASoC: audio-graph-card2: Purge absent supplies for device tree nodes
    
    [ Upstream commit f8da001ae7af0abd9f6250c02c01a1121074ca60 ]
    
    The audio graph card doesn't mark its subnodes such as multi {}, dpcm {}
    and c2c {} as not requiring any suppliers. This causes a hang as Linux
    waits for these phantom suppliers to show up on boot.
    Make it clear these nodes have no suppliers.
    
    Example error message:
    [   15.208558] platform 2034000.i2s: deferred probe pending: platform: wait for supplier /sound/multi
    [   15.208584] platform sound: deferred probe pending: asoc-audio-graph-card2: parse error
    
    Signed-off-by: John Watts <contact@xxxxxxxxxx>
    Acked-by: Kuninori Morimoto <kuninori.morimoto.gx@xxxxxxxxxxx>
    Link: https://patch.msgid.link/20241108-graph_dt_fix-v1-1-173e2f9603d6@xxxxxxxxxx
    Signed-off-by: Mark Brown <broonie@xxxxxxxxxx>
    Signed-off-by: Sasha Levin <sashal@xxxxxxxxxx>

diff --git a/sound/soc/generic/audio-graph-card2.c b/sound/soc/generic/audio-graph-card2.c
index 56f7f946882e8..68f1da6931af2 100644
--- a/sound/soc/generic/audio-graph-card2.c
+++ b/sound/soc/generic/audio-graph-card2.c
@@ -270,16 +270,19 @@ static enum graph_type __graph_get_type(struct device_node *lnk)
 
 	if (of_node_name_eq(np, GRAPH_NODENAME_MULTI)) {
 		ret = GRAPH_MULTI;
+		fw_devlink_purge_absent_suppliers(&np->fwnode);
 		goto out_put;
 	}
 
 	if (of_node_name_eq(np, GRAPH_NODENAME_DPCM)) {
 		ret = GRAPH_DPCM;
+		fw_devlink_purge_absent_suppliers(&np->fwnode);
 		goto out_put;
 	}
 
 	if (of_node_name_eq(np, GRAPH_NODENAME_C2C)) {
 		ret = GRAPH_C2C;
+		fw_devlink_purge_absent_suppliers(&np->fwnode);
 		goto out_put;
 	}
 




[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux