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 d7bac60253c9..5c63e1323160 100644 --- a/drivers/spi/spi-ep93xx.c +++ b/drivers/spi/spi-ep93xx.c | |||
@@ -1104,6 +1104,7 @@ static int ep93xx_spi_probe(struct platform_device *pdev) | |||
1104 | espi->wq = create_singlethread_workqueue("ep93xx_spid"); | 1104 | espi->wq = create_singlethread_workqueue("ep93xx_spid"); |
1105 | if (!espi->wq) { | 1105 | if (!espi->wq) { |
1106 | dev_err(&pdev->dev, "unable to create workqueue\n"); | 1106 | dev_err(&pdev->dev, "unable to create workqueue\n"); |
1107 | error = -ENOMEM; | ||
1107 | goto fail_free_dma; | 1108 | goto fail_free_dma; |
1108 | } | 1109 | } |
1109 | INIT_WORK(&espi->msg_work, ep93xx_spi_work); | 1110 | INIT_WORK(&espi->msg_work, ep93xx_spi_work); |