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>
This commit is contained in:
Родитель
1285c3fefa
Коммит
c8935ef0f2
|
@ -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;
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче