[PATCH/RFC] treewide: Fix instantiation of devices in DT overlay

Mark Brown broonie at kernel.org
Mon Mar 20 09:02:58 PDT 2023


On Fri, Mar 17, 2023 at 11:33:18AM +0100, Geert Uytterhoeven wrote:
> When loading a DT overlay that creates a device, the device is not
> instantiated, unless the DT overlay is unloaded and reloaded again.
> 
> Saravana explains:
>   Basically for all overlays (I hope the function is only used for
>   overlays) we assume all nodes are NOT devices until they actually
>   get added as a device. Don't review the code, it's not meant to be :)
> 
> Based on a hacky patch by Saravana Kannan, which covered only platform
> and spi devices.

Acked-by: Mark Brown <broonie at kernel.org>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20230320/4c80b6b0/attachment.sig>


More information about the linux-arm-kernel mailing list