]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - drivers/crypto/hifn_795x.c
[HIFN]: Indicate asynchronous processing to crypto API
[linux-2.6-omap-h63xx.git] / drivers / crypto / hifn_795x.c
index e5c3bc4c4a1b2873ddb1b906b06b1128fbda96d6..cce6e6f1baa5bc4dca4d08328dad1df830551df7 100644 (file)
@@ -2202,9 +2202,9 @@ static int hifn_setup_crypto(struct ablkcipher_request *req, u8 op,
                return err;
 
        if (dev->started < HIFN_QUEUE_LENGTH && dev->queue.qlen)
-               err = hifn_process_queue(dev);
+               hifn_process_queue(dev);
 
-       return err;
+       return -EINPROGRESS;
 }
 
 /*