spi: sh-msiof: Use async pm_runtime_put() in sh_msiof_spi_setup()
authorGeert Uytterhoeven <geert+renesas@glider.be>
Wed, 7 Jan 2015 15:37:25 +0000 (16:37 +0100)
committerMark Brown <broonie@kernel.org>
Wed, 7 Jan 2015 17:30:25 +0000 (17:30 +0000)
There's no need to use the synchronous version.

Reported-by: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com>
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/spi/spi-sh-msiof.c

index c58c2494a29738c9a222e9442d9c965e55a32bf4..9a884e6dc30ca38e99ff277a03b1ee270bd69f6c 100644 (file)
@@ -546,7 +546,7 @@ static int sh_msiof_spi_setup(struct spi_device *spi)
                gpio_set_value(spi->cs_gpio, !(spi->mode & SPI_CS_HIGH));
 
 
-       pm_runtime_put_sync(&p->pdev->dev);
+       pm_runtime_put(&p->pdev->dev);
 
        return 0;
 }