soc/qbman: Fix resource leak on portal probing error path
authorClaudiu Manoil <claudiu.manoil@nxp.com>
Wed, 16 Nov 2016 14:40:17 +0000 (16:40 +0200)
committerScott Wood <oss@buserror.net>
Wed, 23 Nov 2016 07:23:41 +0000 (01:23 -0600)
commit333e72cf475065a42b7bf33d76214eca45b9acbb
tree252ec0ff57fd8624b78a3951c2386faa9283e9e5
parentd95cb0d361d509bda3c351c5933904477b103af0
soc/qbman: Fix resource leak on portal probing error path

In case init_pcfg() returns with error the CI region
must be unmapped too.

Signed-off-by: Claudiu Manoil <claudiu.manoil@nxp.com>
Signed-off-by: Scott Wood <oss@buserror.net>
drivers/soc/fsl/qbman/bman_portal.c
drivers/soc/fsl/qbman/qman_portal.c