projects
/
platform
/
kernel
/
linux-exynos.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1285c3f
)
spi: sh-msiof: Use async pm_runtime_put() in sh_msiof_spi_setup()
author
Geert Uytterhoeven
<geert+renesas@glider.be>
Wed, 7 Jan 2015 15:37:25 +0000
(16:37 +0100)
committer
Mark 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
patch
|
blob
|
history
diff --git
a/drivers/spi/spi-sh-msiof.c
b/drivers/spi/spi-sh-msiof.c
index
c58c249
..
9a884e6
100644
(file)
--- 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)
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;
}