diff options
-rw-r--r-- | drivers/spi/spi-ep93xx.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/spi/spi-ep93xx.c b/drivers/spi/spi-ep93xx.c index 15ea07d8f8d6..cad30b8a1d71 100644 --- a/drivers/spi/spi-ep93xx.c +++ b/drivers/spi/spi-ep93xx.c | |||
@@ -1095,6 +1095,7 @@ static int ep93xx_spi_probe(struct platform_device *pdev) | |||
1095 | espi->wq = create_singlethread_workqueue("ep93xx_spid"); | 1095 | espi->wq = create_singlethread_workqueue("ep93xx_spid"); |
1096 | if (!espi->wq) { | 1096 | if (!espi->wq) { |
1097 | dev_err(&pdev->dev, "unable to create workqueue\n"); | 1097 | dev_err(&pdev->dev, "unable to create workqueue\n"); |
1098 | error = -ENOMEM; | ||
1098 | goto fail_free_dma; | 1099 | goto fail_free_dma; |
1099 | } | 1100 | } |
1100 | INIT_WORK(&espi->msg_work, ep93xx_spi_work); | 1101 | INIT_WORK(&espi->msg_work, ep93xx_spi_work); |