commit | ff6e0b9c2f05e9f3a06e84af5af2fa8a2c8098f8 | [log] [tgz] |
---|---|---|
author | Matt Porter <mporter@linaro.org> | Mon Oct 20 06:39:45 2014 -0400 |
committer | Greg Kroah-Hartman <greg@kroah.com> | Tue Oct 21 06:22:32 2014 +0800 |
tree | db0c92e7f6662a3eb7107d065abf66ed29639986 | |
parent | 42d4a22d6b8e66f1e4d08a643429dbe5321eb458 [diff] |
greybus: gpio-gb: fix offset error checking and usage Offset (or hwgpio num) is the offset within a gpiochip, not the unique gpio namespace number. Adjust the error checking and use of offset in our operation calls to fix this. Signed-off-by: Matt Porter <mporter@linaro.org> Signed-off-by: Greg Kroah-Hartman <greg@kroah.com>