On 4/16/2024 8:35 AM, Pankaj Gupta wrote: > CAAM clock initializat is done based on the basis of soc specific ^ initialization > @@ -889,17 +895,25 @@ static int caam_probe(struct platform_device *pdev) > > reg_access = !ctrlpriv->optee_en; > > - if (!imx_soc_match->data) { > + if (imx_soc_match->data) { This is obviously incorrect. > dev_err(dev, "No clock data provided for i.MX SoC"); > return -EINVAL; > } Regards, Horia