LF-3696: caam: fix that the caam driver cannot identify the SoC
authorAlice Guo <alice.guo@nxp.com>
Fri, 9 Apr 2021 10:45:09 +0000 (18:45 +0800)
committerAlice Guo <alice.guo@nxp.com>
Mon, 12 Apr 2021 01:50:58 +0000 (09:50 +0800)
commited321757672f3d8b8ad0e2d40a19a9b2411d0940
tree41c6ae549e7bdee033a2c58917c255d71459feee
parent6375d33dce9af7567e197f84b698fb268888eada
LF-3696: caam: fix that the caam driver cannot identify the SoC

When imx8_soc_info_driver uses module_platform_driver() to regitser
itself, the caam driver cannot identify the SoC in the machine because
soc_id it needs has not been provided yet, so add return -EPROBE_DEFER.

Signed-off-by: Alice Guo <alice.guo@nxp.com>
drivers/crypto/caam/ctrl.c