forked from luck/tmp_suning_uos_patched
afb7742281
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> |
||
---|---|---|
.. | ||
dpbp.c | ||
dpcon.c | ||
dpmcp.c | ||
dprc-driver.c | ||
dprc.c | ||
fsl-mc-allocator.c | ||
fsl-mc-bus.c | ||
fsl-mc-msi.c | ||
fsl-mc-private.h | ||
Kconfig | ||
Makefile | ||
mc-io.c | ||
mc-sys.c |