mempool/dpaa2: improve error handling
authorHemant Agrawal <hemant.agrawal@nxp.com>
Tue, 10 Oct 2017 14:12:03 +0000 (19:42 +0530)
committerThomas Monjalon <thomas@monjalon.net>
Thu, 12 Oct 2017 01:47:49 +0000 (03:47 +0200)
commit5518fc95427891e8bcf72f461cdaa38604226442
treecd75da719d7656ed7be0ca26a3ee16b464db2638
parente9508b64cadf091cf49bd128ab625b4ea68b3888
mempool/dpaa2: improve error handling

Reverting the config on encountering errors.

Signed-off-by: Hemant Agrawal <hemant.agrawal@nxp.com>
drivers/mempool/dpaa2/dpaa2_hw_mempool.c