[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20251229160143.7a637715@kemnade.info>
Date: Mon, 29 Dec 2025 16:01:43 +0100
From: Andreas Kemnade <andreas@...nade.info>
To: Johan Hovold <johan@...nel.org>
Cc: Aaro Koskinen <aaro.koskinen@....fi>, Kevin Hilman
<khilman@...libre.com>, Roger Quadros <rogerq@...nel.org>, Tony Lindgren
<tony@...mide.com>, linux-omap@...r.kernel.org,
linux-kernel@...r.kernel.org, stable@...r.kernel.org
Subject: Re: [PATCH] bus: omap-ocp2scp: fix OF populate on driver rebind
On Fri, 19 Dec 2025 12:01:19 +0100
Johan Hovold <johan@...nel.org> wrote:
> Since commit c6e126de43e7 ("of: Keep track of populated platform
> devices") child devices will not be created by of_platform_populate()
> if the devices had previously been deregistered individually so that the
> OF_POPULATED flag is still set in the corresponding OF nodes.
>
> Switch to using of_platform_depopulate() instead of open coding so that
> the child devices are created if the driver is rebound.
>
> Fixes: c6e126de43e7 ("of: Keep track of populated platform devices")
> Cc: stable@...r.kernel.org # 3.16
> Signed-off-by: Johan Hovold <johan@...nel.org>
Reviewed-by Andreas Kemnade <andreas@...nade.info>
Powered by blists - more mailing lists