Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit fb0482c3 authored by Dan Sneddon's avatar Dan Sneddon Committed by Kiran Gunda
Browse files

SPI: spi_qsd: Fix unbalanced clocks



While using runtime pm if there is an error getting
local resources the error code wasn't being
propagated up to the runtime pm framework causing
the runtime pm framework to think the device was
active when it wasn't.  This would cause runtime pm
to call the suspend callback causing unbalanced clocks.
This patch propagates the error back to the runtime
pm framework so the runtime pm state mirrors the actual
state of the hardware.

Change-Id: I96e65816a7a6d5b6b35bee041f40b736b943cec9
Signed-off-by: default avatarDan Sneddon <dsneddon@codeaurora.org>
parent c1ad0966
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment