Commit c55b869a authored by Mark Brown's avatar Mark Brown

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

parents 4c4b8da1 7b8f7eef
...@@ -1121,6 +1121,7 @@ static int s3c64xx_spi_setup(struct spi_device *spi) ...@@ -1121,6 +1121,7 @@ static int s3c64xx_spi_setup(struct spi_device *spi)
return 0; return 0;
setup_exit: setup_exit:
pm_runtime_put(&sdd->pdev->dev);
/* setup() returns with device de-selected */ /* setup() returns with device de-selected */
disable_cs(sdd, spi); disable_cs(sdd, spi);
...@@ -1428,6 +1429,7 @@ static int s3c64xx_spi_probe(struct platform_device *pdev) ...@@ -1428,6 +1429,7 @@ static int s3c64xx_spi_probe(struct platform_device *pdev)
S3C64XX_SPI_INT_TX_OVERRUN_EN | S3C64XX_SPI_INT_TX_UNDERRUN_EN, S3C64XX_SPI_INT_TX_OVERRUN_EN | S3C64XX_SPI_INT_TX_UNDERRUN_EN,
sdd->regs + S3C64XX_SPI_INT_EN); sdd->regs + S3C64XX_SPI_INT_EN);
pm_runtime_set_active(&pdev->dev);
pm_runtime_enable(&pdev->dev); pm_runtime_enable(&pdev->dev);
if (spi_register_master(master)) { if (spi_register_master(master)) {
......
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