commit | c2a66106867343b5c5f017ccc724ba1c1aa9b540 | [log] [tgz] |
---|---|---|
author | Johan Hovold <johan@hovoldconsulting.com> | Thu Mar 19 16:51:09 2015 +0100 |
committer | Greg Kroah-Hartman <greg@kroah.com> | Thu Mar 19 17:29:40 2015 +0100 |
tree | 75e7551139354e056c364cfd1e7bc68333d02a38 | |
parent | c0d209a07beb3550203bfa237d27433a1fbc9cee [diff] |
greybus: gpio: fix truncated debounce times Fix set_debounce, which silently truncated the time argument to 255us even though we support 16-bit values. Also remove the unnecessary explicit cast when verifying the argument. Signed-off-by: Johan Hovold <johan@hovoldconsulting.com> Signed-off-by: Greg Kroah-Hartman <greg@kroah.com>