Skip to content
Commit 4c615dcc authored by Axel Haslam's avatar Axel Haslam Committed by Alex Elder
Browse files

greybus: spi: Add runtime_pm support



Add runtime operations to the spi driver so that the
module is woken up when an spi transfer is started
and put back to sleep when the transfer is done.

Testing Done: Let the module enter standby and initiate
an spi operation. The operation wakes up the module
and succeeds.

Signed-off-by: default avatarAxel Haslam <ahaslam@baylibre.com>
Signed-off-by: default avatarDavid Lin <dtwlin@google.com>
Reviewed-by: default avatarRui Miguel Silva <rui.silva@linaro.org>
Signed-off-by: default avatarAlex Elder <elder@linaro.org>
parent afa807b8
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment