soc: fsl: bman_portals: defer probe after bman's probe
authorLaurentiu Tudor <laurentiu.tudor@nxp.com>
Wed, 26 Sep 2018 13:22:32 +0000 (16:22 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 24 Nov 2019 07:20:28 +0000 (08:20 +0100)
commit3bef7420e129e3fb65e4e8368d61f909c4393786
tree86cfba26ad9f2d42d15dac827435faf47ad7a47c
parent090122baa262e11c778d73547c72e6eab89f84e9
soc: fsl: bman_portals: defer probe after bman's probe

[ Upstream commit e0940b34c40e95d1879691d2474d182c57aae0de ]

A crash in bman portal probing could not be triggered (as is the case
with qman portals) but it does make calls [1] into the bman driver so
lets make sure the bman portal probing happens after bman's.

[1]  bman_p_irqsource_add() (in bman) called by:
       init_pcfg() called by:
         bman_portal_probe()

Signed-off-by: Laurentiu Tudor <laurentiu.tudor@nxp.com>
Signed-off-by: Li Yang <leoyang.li@nxp.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/soc/fsl/qbman/bman_portal.c