summaryrefslogtreecommitdiffstats
path: root/Kconfig
diff options
context:
space:
mode:
authorJeffy Chen <jeffy.chen@rock-chips.com>2017-06-28 12:38:43 +0800
committerMark Brown <broonie@kernel.org>2017-06-28 19:43:18 +0100
commitaa099382ac0cda27e10fa8f45bf91edea0d1d35e (patch)
tree53110fcb40c5e0a989fc4b084d9e2e2b7b344a7b /Kconfig
parentc863795c4c0787e5f885099e3b673e1433448b82 (diff)
downloadblackbird-op-linux-aa099382ac0cda27e10fa8f45bf91edea0d1d35e.tar.gz
blackbird-op-linux-aa099382ac0cda27e10fa8f45bf91edea0d1d35e.zip
spi: rockchip: Disable Runtime PM when chip select is asserted
The rockchip spi would stop driving pins when runtime suspended, which might break slave's xfer(for example cros_ec). Since we have pullups on those pins, we only need to care about this when the CS asserted. So let's keep the spi alive when chip select is asserted. Also use pm_runtime_put instead of pm_runtime_put_sync. Suggested-by: Doug Anderson <dianders@chromium.org> Signed-off-by: Jeffy Chen <jeffy.chen@rock-chips.com> Reviewed-by: Douglas Anderson <dianders@chromium.org> Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'Kconfig')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud