crypto: sahara - fix spinlock initialization
The driver uses a spinlock, but never initializes it. Fix this. Signed-off-by: Steffen Trumtrar <s.trumtrar@pengutronix.de> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
This commit is contained in:
parent
f43c239407
commit
20ec9d814e
|
@ -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,
|
||||
|
|
Loading…
Reference in New Issue