diff options
| author | Johan Hovold <johan@kernel.org> | 2025-12-19 12:01:19 +0100 |
|---|---|---|
| committer | Sasha Levin <sashal@kernel.org> | 2026-03-04 07:21:14 -0500 |
| commit | 91e99e3eb09b98750c7522b7f23403f96ba3cffc (patch) | |
| tree | 7ef265fa163e8445e7c9d377e170415dc2a16da2 /tools/lib/python/kdoc/kdoc_parser.py | |
| parent | 0004ecb798b30e90d7ebfe74efae2d9423315a64 (diff) | |
bus: omap-ocp2scp: fix OF populate on driver rebind
[ Upstream commit 5eb63e9bb65d88abde647ced50fe6ad40c11de1a ]
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@vger.kernel.org # 3.16
Signed-off-by: Johan Hovold <johan@kernel.org>
Link: https://patch.msgid.link/20251219110119.23507-1-johan@kernel.org
Signed-off-by: Kevin Hilman <khilman@baylibre.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'tools/lib/python/kdoc/kdoc_parser.py')
0 files changed, 0 insertions, 0 deletions
