commit | ec34689fa95c47bcd37a988a18a07e4f484d5f48 | [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 | fde4f92036b76e3bb98960f42b58291d8e93b3aa [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>