提交 20ec9d81 编写于 作者: S Steffen Trumtrar 提交者: Herbert Xu

crypto: sahara - fix spinlock initialization

The driver uses a spinlock, but never initializes it.
Fix this.
Signed-off-by: NSteffen Trumtrar <s.trumtrar@pengutronix.de>
Signed-off-by: NHerbert Xu <herbert@gondor.apana.org.au>
上级 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% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册