Skip to content

Commit 332ec81

Browse files
committed
Merge remote-tracking branch 'spi/fix/s3c64xx' into spi-linus
2 parents 2f5a5c1 + 6c6cf64 commit 332ec81

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎drivers/spi/spi-s3c64xx.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -444,7 +444,7 @@ static int s3c64xx_spi_prepare_transfer(struct spi_master *spi)
444444
}
445445

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

0 commit comments

Comments
 (0)