diff options
author | Axel Lin <axel.lin@ingics.com> | 2014-04-15 10:54:11 +0800 |
---|---|---|
committer | Matthew Garrett <matthew.garrett@nebula.com> | 2014-06-09 17:39:58 -0400 |
commit | 21a3542753a63091bc4700525e6096d76fe32f62 (patch) | |
tree | 9aba992cb4cb5fb2118c94e76bd89c653e3c6b73 /lib/clz_ctz.c | |
parent | 963649d735c8b6eb0f97e82c54f02426ff3f1f45 (diff) |
platform-drivers-x86: intel_pmic_gpio: Fix off-by-one valid offset range check
Only pin 0-7 support input, so the valid offset range should be 0 ~ 7.
Signed-off-by: Axel Lin <axel.lin@ingics.com>
Signed-off-by: Matthew Garrett <matthew.garrett@nebula.com>
Diffstat (limited to 'lib/clz_ctz.c')
0 files changed, 0 insertions, 0 deletions