Skip to content
Unverified Commit 6b04e47b authored by tomaspaukrt@email.cz's avatar tomaspaukrt@email.cz Committed by Mark Brown
Browse files

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: default avatarTomas Paukrt <tomaspaukrt@email.cz>
Link: https://lore.kernel.org/r/E2A.ZWgn.6sH16TohXKE.1TYpoi@seznam.cz
Signed-off-by: default avatarMark Brown <broonie@kernel.org>
parent 9f918a72
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment