Re: [PATCH] crypto: caam - fix LS1021A support on ARMv7 multiplatform kernel

2017-09-21 Thread Herbert Xu
On Fri, Sep 01, 2017 at 05:12:59PM +0300, Horia Geantă wrote: > When built using multi_v7_defconfig, driver does not work on LS1021A: > [...] > caam 170.crypto: can't identify CAAM ipg clk: -2 > caam: probe of 170.crypto failed with error -2 > [...] > > It turns out we have to detect at

[PATCH] crypto: caam - fix LS1021A support on ARMv7 multiplatform kernel

2017-09-01 Thread Horia Geantă
When built using multi_v7_defconfig, driver does not work on LS1021A: [...] caam 170.crypto: can't identify CAAM ipg clk: -2 caam: probe of 170.crypto failed with error -2 [...] It turns out we have to detect at runtime whether driver is running on an i.MX platform or not. Cc: