git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1d1c1d9
)
gpiolib: fix off by one errors
author
Trent Piepho
<xyzzy@speakeasy.org>
Fri, 23 May 2008 20:04:44 +0000
(13:04 -0700)
committer
Linus Torvalds
<torvalds@linux-foundation.org>
Sat, 24 May 2008 16:56:11 +0000
(09:56 -0700)
The last gpio belonging to a chip is chip->base + chip->ngpios - 1. Some
places in the code, but not all, forgot the critical minus one.
Signed-off-by: Trent Piepho <xyzzy@speakeasy.org>
Acked-by: David Brownell <dbrownell@users.sourceforge.net>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
No differences found