linux-spi.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/2] Put OMAP2 SPI CS in unactive state when return from suspend
@ 2010-08-11 14:42 Gregory CLEMENT
  2010-08-11 18:21 ` Kevin Hilman
  0 siblings, 1 reply; 5+ messages in thread
From: Gregory CLEMENT @ 2010-08-11 14:42 UTC (permalink / raw)
  To: spi-devel-general; +Cc: linux-omap, Gregory CLEMENT

We notice that when system wake up from OFF mode, then CS is in
unactive state until the first SPI transfert.
For our design it lead to some conflict on this I/O.
Unactive state for CS when there is no transfert shoudl be the correct
behaviour: this is the purpose of these patches.

Gregory CLEMENT (2):
  spi: Add hook on suspend/resume for spi master
  spi/omap2_mcspi: When SPI wake up from OFF mode, CS is in wrong
    state: force it to unactive state

 drivers/spi/omap2_mcspi.c |   11 ++++++++++-
 drivers/spi/spi.c         |   15 ++++++++++++++-
 include/linux/spi/spi.h   |    4 +++-
 3 files changed, 27 insertions(+), 3 deletions(-)

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2010-08-12 14:28 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-08-11 14:42 [PATCH 0/2] Put OMAP2 SPI CS in unactive state when return from suspend Gregory CLEMENT
2010-08-11 18:21 ` Kevin Hilman
     [not found]   ` <871va52ent.fsf-1D3HCaltpLuhEniVeURVKkEOCMrvLtNR@public.gmane.org>
2010-08-12  8:43     ` Gregory CLEMENT
2010-08-12  8:54       ` Gregory CLEMENT
2010-08-12 14:28         ` Kevin Hilman

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).