diff --git a/drivers/crypto/tegra-aes.c b/drivers/crypto/tegra-aes.c index 631149e50ef1ccf175aace390c8c9084c1c5af88..37185e6630cd77617f176d7387bad1c92ee396b9 100644 --- a/drivers/crypto/tegra-aes.c +++ b/drivers/crypto/tegra-aes.c @@ -969,6 +969,7 @@ static int tegra_aes_probe(struct platform_device *pdev) aes_wq = alloc_workqueue("tegra_aes_wq", WQ_HIGHPRI | WQ_UNBOUND, 1); if (!aes_wq) { dev_err(dev, "alloc_workqueue failed\n"); + err = -ENOMEM; goto out; }