diff options
| author | Johan Hovold <johan@kernel.org> | 2025-12-19 12:07:14 +0100 |
|---|---|---|
| committer | Lee Jones <lee@kernel.org> | 2026-01-22 14:23:40 +0000 |
| commit | 24804ba508a3e240501c521685a1c4eb9f574f8e (patch) | |
| tree | e767d5ef267e65f132f495699bec5cd7d74e9499 /rust/alloc/collections/git@git.tavy.me:linux.git | |
| parent | 27a8acea47a93fea6ad0e2df4c20a9b51490e4d9 (diff) | |
mfd: omap-usb-host: Fix OF populate on driver rebind
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>
Reviewed-by: Andreas Kemnade <andreas@kemnade.info>
Link: https://patch.msgid.link/20251219110714.23919-1-johan@kernel.org
Signed-off-by: Lee Jones <lee@kernel.org>
Diffstat (limited to 'rust/alloc/collections/git@git.tavy.me:linux.git')
0 files changed, 0 insertions, 0 deletions
