Commit 20ec9d81 authored by Steffen Trumtrar's avatar Steffen Trumtrar Committed by Herbert Xu

crypto: sahara - fix spinlock initialization

The driver uses a spinlock, but never initializes it.
Fix this.
Signed-off-by: default avatarSteffen Trumtrar <s.trumtrar@pengutronix.de>
Signed-off-by: default avatarHerbert Xu <herbert@gondor.apana.org.au>
parent f43c2394
......@@ -956,6 +956,8 @@ static int sahara_probe(struct platform_device *pdev)
crypto_init_queue(&dev->queue, SAHARA_QUEUE_LENGTH);
spin_lock_init(&dev->lock);
dev_ptr = dev;
tasklet_init(&dev->queue_task, sahara_aes_queue_task,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment