]> git.baikalelectronics.ru Git - kernel.git/commit
crypto: caam/qi - don't allocate an extra platform device
authorHoria Geantă <horia.geanta@nxp.com>
Fri, 3 May 2019 14:17:40 +0000 (17:17 +0300)
committerHerbert Xu <herbert@gondor.apana.org.au>
Thu, 23 May 2019 06:01:04 +0000 (14:01 +0800)
commit8dd6f45b1d9ab4a26c7160a8706ff17de360b362
tree4d71d589f906c3be75dcdab9282e7d76cfd94a40
parent8c7fa1e8fbfc3aff34c7ee1fd54dfc73d9b22136
crypto: caam/qi - don't allocate an extra platform device

Use the controller device for caam/qi instead of allocating
a new platform device.
This is needed as a preparation to add support for working behind an
SMMU. A platform device allocated using platform_device_register_full()
is not completely set up - most importantly .dma_configure()
is not called.

Signed-off-by: Horia Geantă <horia.geanta@nxp.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/crypto/caam/caamalg_qi.c
drivers/crypto/caam/ctrl.c
drivers/crypto/caam/intern.h
drivers/crypto/caam/qi.c