|
@@ -1095,6 +1095,7 @@ static int ep93xx_spi_probe(struct platform_device *pdev)
|
|
espi->wq = create_singlethread_workqueue("ep93xx_spid");
|
|
espi->wq = create_singlethread_workqueue("ep93xx_spid");
|
|
if (!espi->wq) {
|
|
if (!espi->wq) {
|
|
dev_err(&pdev->dev, "unable to create workqueue\n");
|
|
dev_err(&pdev->dev, "unable to create workqueue\n");
|
|
|
|
+ error = -ENOMEM;
|
|
goto fail_free_dma;
|
|
goto fail_free_dma;
|
|
}
|
|
}
|
|
INIT_WORK(&espi->msg_work, ep93xx_spi_work);
|
|
INIT_WORK(&espi->msg_work, ep93xx_spi_work);
|