Re: [PATCH] spi: rockchip: Keep master alive when CS asserted

2017-06-26 Thread jeffy
Hi brian, thanx for your comments. On 06/27/2017 06:17 AM, Brian Norris wrote: Hi Jeffy, On Mon, Jun 26, 2017 at 11:10:06AM +0800, Jeffy Chen wrote: The cros_ec requires CS line to be active after last message. But the CS would be toggled when powering off/on rockchip spi, which breaks ec xfe

Re: [PATCH] spi: rockchip: Keep master alive when CS asserted

2017-06-26 Thread Brian Norris
Hi Jeffy, On Mon, Jun 26, 2017 at 11:10:06AM +0800, Jeffy Chen wrote: > The cros_ec requires CS line to be active after last message. But the CS > would be toggled when powering off/on rockchip spi, which breaks ec xfer. I believe Doug's point was larger than just the CS line. He was guessing tha

[PATCH] spi: rockchip: Keep master alive when CS asserted

2017-06-25 Thread Jeffy Chen
The cros_ec requires CS line to be active after last message. But the CS would be toggled when powering off/on rockchip spi, which breaks ec xfer. Keep spi alive after CS asserted to prevent that. Suggested-by: Doug Anderson Signed-off-by: Jeffy Chen --- drivers/spi/spi-rockchip.c | 22 +