Skip to content

Commit

Permalink
spi: sh-msiof: Use async pm_runtime_put() in sh_msiof_spi_setup()
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Geert Uytterhoeven authored and Mark Brown committed Jan 7, 2015
1 parent 1285c3f commit c8935ef
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/spi/spi-sh-msiof.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit c8935ef

Please sign in to comment.