linux_dsm_epyc7002/drivers/bus/fsl-mc
Ioana Ciornei afb7742281 bus: fsl-mc: automatically add a device_link on fsl_mc_[portal,object]_allocate
Allocatable devices can be acquired by drivers on the fsl-mc bus using
the fsl_mc_portal_allocate or fsl_mc_object_allocate functions. Add a
device link between the consumer device and the supplier device so that
proper resource management is achieved.
Also, adding a link between these devices ensures that a proper unbind
order is respected (ie before the supplier device is unbound from its
respective driver all consumer devices will be notified and unbound
first).

Signed-off-by: Ioana Ciornei <ioana.ciornei@nxp.com>
Reviewed-by: Laurentiu Tudor <laurentiu.tudor@nxp.com>
Signed-off-by: Li Yang <leoyang.li@nxp.com>
2019-01-11 15:06:54 -06:00
..
dpbp.c
dpcon.c
dpmcp.c
dprc-driver.c
dprc.c
fsl-mc-allocator.c bus: fsl-mc: automatically add a device_link on fsl_mc_[portal,object]_allocate 2019-01-11 15:06:54 -06:00
fsl-mc-bus.c
fsl-mc-msi.c
fsl-mc-private.h
Kconfig
Makefile
mc-io.c bus: fsl-mc: automatically add a device_link on fsl_mc_[portal,object]_allocate 2019-01-11 15:06:54 -06:00
mc-sys.c