commit | c1cc9b9775c931a0015178daf92d41aec00580de | [log] [tgz] |
---|---|---|
author | Axel Lin <axel.lin@gmail.com> | Wed May 26 14:42:19 2010 -0700 |
committer | Linus Torvalds <torvalds@linux-foundation.org> | Thu May 27 09:12:41 2010 -0700 |
tree | 750cd8b9dc72d1e68597e8848cdffe8273ce1701 | |
parent | 7839ec78214ecf477cc9e2862233b8d9fcf4ec58 [diff] |
pl061: fix offset value range checking The valid offset value is 0..PL061_GPIO_NR-1, this patch corrects the offset value range checking. Signed-off-by: Axel Lin <axel.lin@gmail.com> Acked-by: Baruch Siach <baruch@tkos.co.il> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>