Skip to contentSkip to conversation

gpio calls don't need i/o barriers

PATCH New David Brownell 1 participant 1 message Jul 10, 2007 Documentation

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 gpio calls don't need i/o barriers

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).

---
 Documentation/gpio.txt |    3 +++
 1 file changed, 3 insertions(+)
Documentation/gpio.txt +3 -0
@@ -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
 -----------------