Signed-off-by: Jorge Ramirez-Ortiz <[email protected]>
---
drivers/spi/spi-qup.c | 8 ++++++--
1 file changed, 6 insertions(+), 2 deletions(-)
diff --git a/drivers/spi/spi-qup.c b/drivers/spi/spi-qup.c
index 810a7fa..01a0f47 100644
--- a/drivers/spi/spi-qup.c
+++ b/drivers/spi/spi-qup.c
@@ -901,8 +901,10 @@ static int spi_qup_probe(struct platform_device *pdev)
ret = devm_request_irq(dev, irq, spi_qup_qup_irq,
IRQF_TRIGGER_HIGH, pdev->name, controller);
- if (ret)
+ if (ret) {
+ dev_err(dev, "failed to request IRQ\n");
goto error_dma;
+ }
pm_runtime_set_autosuspend_delay(dev, MSEC_PER_SEC);
pm_runtime_use_autosuspend(dev);
@@ -910,8 +912,10 @@ static int spi_qup_probe(struct platform_device *pdev)
pm_runtime_enable(dev);
ret = devm_spi_register_master(dev, master);
- if (ret)
+ if (ret) {
+ dev_err(dev, "failed to register controller\n");
goto disable_pm;
+ }
return 0;
--
2.1.4
--
To unsubscribe from this list: send the line "unsubscribe linux-arm-msm" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html