crypto/dpaa_sec: add lock before Rx HW queue attach
authorAkhil Goyal <akhil.goyal@nxp.com>
Thu, 30 Aug 2018 05:50:58 +0000 (11:20 +0530)
committerAkhil Goyal <akhil.goyal@nxp.com>
Wed, 26 Sep 2018 11:18:38 +0000 (13:18 +0200)
commit3b617ee775b7383c019539e4a91e885f00432cd4
tree5f63afbad4c99a806852513ec0c2a04dda6f2f53
parentb0894102cba30926504e56c0c5806f7d797f59f3
crypto/dpaa_sec: add lock before Rx HW queue attach

This is to safeguard as the session config can be done from multi-threads.

Signed-off-by: Akhil Goyal <akhil.goyal@nxp.com>
drivers/crypto/dpaa_sec/dpaa_sec.c
drivers/crypto/dpaa_sec/dpaa_sec.h