Commit 332ec81d authored by Mark Brown's avatar Mark Brown

Merge remote-tracking branch 'spi/fix/s3c64xx' into spi-linus

parents 2f5a5c1b 6c6cf64b
...@@ -444,7 +444,7 @@ static int s3c64xx_spi_prepare_transfer(struct spi_master *spi) ...@@ -444,7 +444,7 @@ static int s3c64xx_spi_prepare_transfer(struct spi_master *spi)
} }
ret = pm_runtime_get_sync(&sdd->pdev->dev); ret = pm_runtime_get_sync(&sdd->pdev->dev);
if (ret != 0) { if (ret < 0) {
dev_err(dev, "Failed to enable device: %d\n", ret); dev_err(dev, "Failed to enable device: %d\n", ret);
goto out_tx; goto out_tx;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment