1
0
Fork 0
alistair23-linux/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
..
Kconfig staging: fsl-mc: merge fix for CONFIG_FSL_MC_BUS moving 2018-02-26 15:33:47 +01:00
Makefile staging: fsl-mc: Move DPCON out of staging 2018-03-14 13:18:42 +01:00
dpbp.c bus: fsl-mc: remove duplicated include files 2018-12-06 15:53:20 +01:00
dpcon.c bus: fsl-mc: remove duplicated include files 2018-12-06 15:53:20 +01:00
dpmcp.c bus: fsl-mc: change mc_command in fsl_mc_command 2018-03-23 15:52:48 +01:00
dprc-driver.c
dprc.c bus: fsl-mc: change mc_command in fsl_mc_command 2018-03-23 15:52:48 +01:00
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 Devicetree updates for 4.20: 2018-10-26 12:09:58 -07:00
fsl-mc-msi.c genirq/msi: Limit level-triggered MSI to platform devices 2018-05-13 15:58:59 +02:00
fsl-mc-private.h bus: fsl-mc: add fsl_mc_allocator cleanup function 2018-03-23 15:52:48 +01:00
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 bus: fsl-mc: change mc_command in fsl_mc_command 2018-03-23 15:52:48 +01:00