mirror of
https://github.com/LineageOS/android_kernel_fxtec_sm6115.git
synced 2026-08-19 16:21:12 +00:00
Crypto engine can be put to suspend by host controller after workqueue is scheduled. Also shutdown sequence can be ongoing while workqueue is scheduled/executing. The request passed to crypto driver in these cases can be invalidated by host device driver. So check for crypto engine state before processing the pending requests. Change-Id: I4aa2a211e439a876c8525ab062a7cb917b4e2d7e Signed-off-by: Prerna Kalla <prernak@codeaurora.org>