提交 c8935ef0 编写于 作者: G Geert Uytterhoeven 提交者: Mark Brown

spi: sh-msiof: Use async pm_runtime_put() in sh_msiof_spi_setup()

There's no need to use the synchronous version.
Reported-by: NSergei Shtylyov <sergei.shtylyov@cogentembedded.com>
Signed-off-by: NGeert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: NMark Brown <broonie@kernel.org>
上级 1285c3fe
......@@ -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;
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册