diff options
author | Geert Uytterhoeven <geert+renesas@glider.be> | 2015-01-07 10:37:25 -0500 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2015-01-07 12:30:25 -0500 |
commit | c8935ef0f2a8e8c5c440c62fb194d40c4415f456 (patch) | |
tree | 79599b30b240383692e666da24cc8b8f55f32f8b /drivers/spi | |
parent | 1285c3fefaddedf5358f52cfde3c2b64d8086a04 (diff) |
spi: sh-msiof: Use async pm_runtime_put() in sh_msiof_spi_setup()
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>
Diffstat (limited to 'drivers/spi')
-rw-r--r-- | drivers/spi/spi-sh-msiof.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/spi/spi-sh-msiof.c b/drivers/spi/spi-sh-msiof.c index c58c2494a297..9a884e6dc30c 100644 --- a/drivers/spi/spi-sh-msiof.c +++ b/drivers/spi/spi-sh-msiof.c | |||
@@ -546,7 +546,7 @@ static int sh_msiof_spi_setup(struct spi_device *spi) | |||
546 | gpio_set_value(spi->cs_gpio, !(spi->mode & SPI_CS_HIGH)); | 546 | gpio_set_value(spi->cs_gpio, !(spi->mode & SPI_CS_HIGH)); |
547 | 547 | ||
548 | 548 | ||
549 | pm_runtime_put_sync(&p->pdev->dev); | 549 | pm_runtime_put(&p->pdev->dev); |
550 | 550 | ||
551 | return 0; | 551 | return 0; |
552 | } | 552 | } |