Put the OMAP2 SPI CS in inactive state when returning from suspend
v3 cover Put the OMAP2 SPI CS in inactive state when returning from suspend
We notice that when system wake up from OFF mode, then CS is in inactive state until the first SPI transfer. For our design it lead to some conflict on this I/O.
Inactive state for CS when there is no transfer should be the correct behavior: this is the purpose of these patches.
* Change from v2:
Use directly resume function of spi_master instead of using function from spi_device as Grant Likely pointed it out. Force this transition explicitly for each CS used by a device.
Gregory CLEMENT (1):
OMAP2: Spi: Force CS to be in inactive state after off-mode
transition
drivers/spi/omap2_mcspi.c | 29 +++++++++++++++++++++++++++++ 1 files changed, 29 insertions(+), 0 deletions(-)