commit | cda8f87349594a1df9cc8616e25944173c9d0a0c | [log] [tgz] |
---|---|---|
author | Ye Li <ye.li@nxp.com> | Wed May 11 13:56:20 2022 +0530 |
committer | Stefano Babic <sbabic@denx.de> | Fri May 20 12:36:47 2022 +0200 |
tree | 5f7422564e3f170580dbb31e1cd4798c9427a0c2 | |
parent | 5ed4c33f36a000dfacc8c0c98d148e42235ada6e [diff] |
caam: Fix crash in case caam_jr_probe failed If probing caam_jr returns failure, the variable "dev" will not be initialized, so we can't use dev->name for the error print. Otherwise it will cause crash. Signed-off-by: Ye Li <ye.li@nxp.com> Reviewed-by: Gaurav Jain <gaurav.jain@nxp.com>