driver: fsl-mc: MC object cleanup when DPL not loaded
authorYogesh Gaur <yogeshnarayan.gaur@nxp.com>
Tue, 28 Nov 2017 04:41:14 +0000 (10:11 +0530)
committerYork Sun <york.sun@nxp.com>
Wed, 6 Dec 2017 22:56:31 +0000 (14:56 -0800)
commit73fa206aefe0d27f71929da0c35dbce879205f20
tree5fc742cd87ae81b30524c28cf3f4984f565de539
parent9b457cc6d16dadc29f3e7ed560171a9a20b9c5d7
driver: fsl-mc: MC object cleanup when DPL not loaded

For case when MC is loaded but DPL is not deployed perform MC
object [DPBP, DPIO, DPNI and DPRC] cleanup.

Signed-off-by: Yogesh Gaur <yogeshnarayan.gaur@nxp.com>
Reviewed-by: York Sun <york.sun@nxp.com>
drivers/net/fsl-mc/mc.c