mirror of
https://git.proxmox.com/git/mirror_ubuntu-kernels.git
synced 2025-11-25 16:15:21 +00:00
The cdns3 core device is populated by calling of_platform_populate,
the flag OF_POPULATED is set for core device node, if this flag
is not cleared, when calling of_platform_populate the second time
after loading parent module again, the OF code will not try to create
platform device for core device.
To fix it, it uses of_platform_depopulate to depopulate the core
device which the parent created, and the flag OF_POPULATED for
core device node will be cleared accordingly.
Cc: <stable@vger.kernel.org>
Fixes:
|
||
|---|---|---|
| .. | ||
| cdns3-imx.c | ||
| cdns3-pci-wrap.c | ||
| cdns3-ti.c | ||
| core.c | ||
| core.h | ||
| debug.h | ||
| drd.c | ||
| drd.h | ||
| ep0.c | ||
| gadget-export.h | ||
| gadget.c | ||
| gadget.h | ||
| host-export.h | ||
| host.c | ||
| Kconfig | ||
| Makefile | ||
| trace.c | ||
| trace.h | ||