Loading drivers/crypto/msm/qcrypto.c +10 −3 Original line number Diff line number Diff line Loading @@ -1994,6 +1994,12 @@ again: backlog_eng = crypto_get_backlog(&pengine->req_queue); /* make sure it is in high bandwidth state */ if (pengine->bw_state != BUS_HAS_BANDWIDTH) { spin_unlock_irqrestore(&cp->lock, flags); return 0; } /* try to get request from request queue of the engine first */ async_req = crypto_dequeue_request(&pengine->req_queue); if (!async_req) { Loading Loading @@ -4894,9 +4900,10 @@ err: static int _qcrypto_engine_in_use(struct crypto_engine *pengine) { if (pengine->req || pengine->req_queue.qlen) struct crypto_priv *cp = pengine->pcp; if (pengine->req || pengine->req_queue.qlen || cp->req_queue.qlen) return 1; else return 0; } Loading Loading
drivers/crypto/msm/qcrypto.c +10 −3 Original line number Diff line number Diff line Loading @@ -1994,6 +1994,12 @@ again: backlog_eng = crypto_get_backlog(&pengine->req_queue); /* make sure it is in high bandwidth state */ if (pengine->bw_state != BUS_HAS_BANDWIDTH) { spin_unlock_irqrestore(&cp->lock, flags); return 0; } /* try to get request from request queue of the engine first */ async_req = crypto_dequeue_request(&pengine->req_queue); if (!async_req) { Loading Loading @@ -4894,9 +4900,10 @@ err: static int _qcrypto_engine_in_use(struct crypto_engine *pengine) { if (pengine->req || pengine->req_queue.qlen) struct crypto_priv *cp = pengine->pcp; if (pengine->req || pengine->req_queue.qlen || cp->req_queue.qlen) return 1; else return 0; } Loading