Re: [PATCH 10/12] crypto: caam - populate platform devices last

2019-09-20 Thread Horia Geanta
On 9/4/2019 5:35 AM, Andrey Smirnov wrote: > @@ -906,6 +900,13 @@ static int caam_probe(struct platform_device *pdev) > debugfs_create_blob("tdsk", S_IRUSR | S_IRGRP | S_IROTH, ctrlpriv->ctl, > &ctrlpriv->ctl_tdsk_wrap); > #endif > + > + ret = devm_of_platform_p

[PATCH 10/12] crypto: caam - populate platform devices last

2019-09-03 Thread Andrey Smirnov
Move the call to devm_of_platform_populate() at the end of caam_probe(), so we won't try to add any child devices until all of the initialization is finished successfully. Signed-off-by: Andrey Smirnov Cc: Chris Healy Cc: Lucas Stach Cc: Horia Geantă Cc: Herbert Xu Cc: Iuliana Prodan Cc: lin