Skip to content

Commit

Permalink
Merge remote-tracking branch 'spi/fix/s3c64xx' into spi-linus
Browse files Browse the repository at this point in the history
  • Loading branch information
Mark Brown committed Jun 24, 2013
2 parents 2f5a5c1 + 6c6cf64 commit 332ec81
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/spi/spi-s3c64xx.c
Original file line number Diff line number Diff line change
Expand Up @@ -444,7 +444,7 @@ static int s3c64xx_spi_prepare_transfer(struct spi_master *spi)
}

ret = pm_runtime_get_sync(&sdd->pdev->dev);
if (ret != 0) {
if (ret < 0) {
dev_err(dev, "Failed to enable device: %d\n", ret);
goto out_tx;
}
Expand Down

0 comments on commit 332ec81

Please sign in to comment.