summaryrefslogtreecommitdiffstats
path: root/drivers/spi/spi-gpio.c
diff options
context:
space:
mode:
authortomaspaukrt@email.cz <tomaspaukrt@email.cz>2019-09-25 12:08:44 +0200
committerMark Brown <broonie@kernel.org>2019-09-26 17:23:21 +0200
commit6b04e47b73f2a0d2c330cecca99f8e2cb8f85b34 (patch)
tree71d84bba141cb9beb23c94665a38043b38636f75 /drivers/spi/spi-gpio.c
parentspi: Add call to spi_slave_abort() function when spidev driver is released (diff)
downloadlinux-6b04e47b73f2a0d2c330cecca99f8e2cb8f85b34.tar.xz
linux-6b04e47b73f2a0d2c330cecca99f8e2cb8f85b34.zip
spi: orion: fix runtime PM initialization
The current initialisation of runtime PM in the orion-spi.c driver is incorrect, because calling pm_runtime_put_autosuspend before calling pm_runtime_get leads to a negative value of the reference count and therefore it sometimes causes suspend during a transmission. Signed-off-by: Tomas Paukrt <tomaspaukrt@email.cz> Link: https://lore.kernel.org/r/E2A.ZWgn.6sH16TohXKE.1TYpoi@seznam.cz Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'drivers/spi/spi-gpio.c')
0 files changed, 0 insertions, 0 deletions