aboutsummaryrefslogtreecommitdiff
path: root/lib/string_helpers.c
diff options
context:
space:
mode:
authorMichael Buesch <[email protected]>2009-02-18 14:48:41 -0800
committerLinus Torvalds <[email protected]>2009-02-18 15:37:56 -0800
commitbe50344e604f956891fc0013f1ba78823a758124 (patch)
treef857656b717750fce8ddc4e3d2784b182d0aff60 /lib/string_helpers.c
parent97bef7dd05563807539122c488a5dd93ed327722 (diff)
spi-gpio: sanitize MISO bitvalue
gpio_get_value() returns 0 or nonzero, but getmiso() expects 0 or 1. Sanitize the value to a 0/1 boolean. Signed-off-by: Michael Buesch <[email protected]> Acked-by: David Brownell <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'lib/string_helpers.c')
0 files changed, 0 insertions, 0 deletions