lkml.org 
[lkml]   [2008]   [Jul]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: [PATCH v3] Add bt8xxgpio driver
Date
On Thursday 10 July 2008 22:02:12 David Brownell wrote:
> See Documentation/gpio.txt:
>
> + Note that these operations include I/O barriers on platforms
> + which need to use them; drivers don't need to add them explicitly.
>
> That's the key thing: drivers using I/O calls should
> not need to insert bus or platform specific calls to
> make sure the calls take effect.


Well, as I said, I am OK with an I/O-barrier, which is mmiowb().
But flushing, by reading the register back, is not acceptable for
me in this case, unless someone can show me hardware that needs this.
And even then I'd implement the flushing only conditionally for
that hardware.

--
Greetings Michael.


\
 
 \ /
  Last update: 2008-07-11 14:57    [W:0.106 / U:1.332 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site