Re: [PATCH v3 2/2] spi: rockchip: Disable Runtime PM when chip select is asserted

2017-06-28 Thread Mark Brown
On Tue, Jun 27, 2017 at 10:30:10PM -0700, Doug Anderson wrote: > Jeffy, > > On Tue, Jun 27, 2017 at 9:38 PM, Jeffy Chen wrote: > > The rockchip spi would stop driving pins when runtime suspended, which > > might break slave's xfer(for example cros_ec). Please delete unneeded context from mails w

Re: [PATCH v3 2/2] spi: rockchip: Disable Runtime PM when chip select is asserted

2017-06-27 Thread Doug Anderson
Jeffy, On Tue, Jun 27, 2017 at 9:38 PM, Jeffy Chen wrote: > 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 th

[PATCH v3 2/2] spi: rockchip: Disable Runtime PM when chip select is asserted

2017-06-27 Thread Jeffy Chen
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 inste