* [patch 2.6.22] gpio calls don't need i/o barriers
@ 2007-07-10 23:18 David Brownell
0 siblings, 0 replies; only message in thread
From: David Brownell @ 2007-07-10 23:18 UTC (permalink / raw)
To: Andrew Morton; +Cc: Linux Kernel list
Clarify that drivers using the GPIO operations don't need to issue
io barrier instructions themselves. Previously this wasn't clear,
and at least one platform assumed otherwise (and would thus break
various otherwise-portable drivers which don't issue barriers).
Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
---
Documentation/gpio.txt | 3 +++
1 file changed, 3 insertions(+)
--- g26.orig/Documentation/gpio.txt 2007-06-24 13:23:21.000000000 -0700
+++ g26/Documentation/gpio.txt 2007-06-24 13:32:01.000000000 -0700
@@ -75,6 +75,9 @@ using the include file:
If you stick to this convention then it'll be easier for other developers to
see what your code is doing, and help maintain it.
+Note that these operations include I/O barriers on platforms which need to
+use them; drivers don't need to add them explicitly.
+
Identifying GPIOs
-----------------
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2007-07-10 23:40 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-07-10 23:18 [patch 2.6.22] gpio calls don't need i/o barriers David Brownell
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®