From: Gregory CLEMENT <gregory.clement@free-electrons.com>
To: spi-devel-general <spi-devel-general@lists.sourceforge.net>,
linux-omap <linux-omap@vger.kernel.org>
Cc: David Brownell <dbrownell@users.sourceforge.net>,
Grant Likely <grant.likely@secretlab.ca>,
Kevin Hilman <khilman@deeprootsystems.com>
Subject: [PATCH v2 0/2] Put the OMAP2 SPI CS in inactive state when returning from suspend
Date: Wed, 10 Nov 2010 11:32:27 +0100 [thread overview]
Message-ID: <4CDA74BB.4030304@free-electrons.com> (raw)
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 v1:
Rebase on linus/master (after 2.6.37-rc1)
Do some clean-up and fix indentation on both patches
Add more explanations for patch 2
Gregory CLEMENT (2):
spi: Add hook on suspend/resume for spi master
spi: Force CS to be in inactive state after off-mode transition
drivers/spi/omap2_mcspi.c | 10 ++++++++++
drivers/spi/spi.c | 14 ++++++++++++++
include/linux/spi/spi.h | 5 +++++
3 files changed, 29 insertions(+), 0 deletions(-)
reply other threads:[~2010-11-10 10:43 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4CDA74BB.4030304@free-electrons.com \
--to=gregory.clement@free-electrons.com \
--cc=dbrownell@users.sourceforge.net \
--cc=grant.likely@secretlab.ca \
--cc=khilman@deeprootsystems.com \
--cc=linux-omap@vger.kernel.org \
--cc=spi-devel-general@lists.sourceforge.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.