commit | 114e2ccd9eff5859760cfa3bcbb707c3eda63fc3 | [log] [tgz] |
---|---|---|
author | Gary R Hook <gary.hook@amd.com> | Wed Jul 31 00:03:25 2019 +0000 |
committer | Herbert Xu <herbert@gondor.apana.org.au> | Fri Aug 09 15:11:39 2019 +1000 |
tree | ba71b77688c003238a1b3838d1f3747fe91dfe2b | |
parent | 514838e920d06f5c2ba56e9656107dfcbbb90219 [diff] |
crypto: ccp - Clean up and exit correctly on allocation failure Return and fail driver initialization if a DMA pool or coherent memory can't be allocated. Be sure to clean up allocated memory. Fixes: 4b394a232df7 ("crypto: ccp - Let a v5 CCP provide the same function as v3") Signed-off-by: Gary R Hook <gary.hook@amd.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>