Re: [PATCH net-next v5 3/7] i2c: mux: Propagate software nodes to channel adapters

[email protected]
Newsgroups org.kernel.vger.linux-leds,org.kernel.vger.linux-devicetree
Message-ID <[email protected]>
> Device Tree channel nodes are associated with the adapters created by
> i2c-mux, but equivalent software-node descriptions are not.
> 
> Find the software-node child whose reg value matches the channel and
> attach it to the new adapter. Preserve an ACPI primary node when present
> and extend I2C firmware-node adapter lookup to match the attached
> secondary node.
> 
> Track attachment ownership so failure cleanup cannot detach a
> pre-existing node. Keep the owned node attached through child-client
> removal, then release its reference after adapter deletion.
> 
> Signed-off-by: Ahmad Byagowi <[email protected]>

Sashiko has reviewed this patch and found no issues. It looks great!

-- 
Sashiko AI review · https://sashiko.dev/#/patchset/[email protected]?part=3
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.