summaryrefslogtreecommitdiffstats
path: root/fs/pipe.c
diff options
context:
space:
mode:
authorDaniel Mack2009-03-12 22:31:25 +0100
committerLinus Torvalds2009-03-13 00:20:23 +0100
commit8d0df7a3d1ecbaf5d5602a59055c8ca993855bed (patch)
treea9d9834c949da6e6572cc5d897560d2ded1adcfe /fs/pipe.c
parentuml: fix WARNING: vmlinux: 'memcpy' exported twice (diff)
downloadkernel-qcow2-linux-8d0df7a3d1ecbaf5d5602a59055c8ca993855bed.tar.gz
kernel-qcow2-linux-8d0df7a3d1ecbaf5d5602a59055c8ca993855bed.tar.xz
kernel-qcow2-linux-8d0df7a3d1ecbaf5d5602a59055c8ca993855bed.zip
drivers/w1/masters/w1-gpio.c: fix read_bit()
W1 master implementations are expected to return 0 or 1 from their read_bit() function. However, not all platforms do return these values from gpio_get_value() - namely PXAs won't. Hence the w1 gpio-master needs to break the result down to 0 or 1 itself. Signed-off-by: Daniel Mack <daniel@caiaq.de> Cc: Ville Syrjala <syrjala@sci.fi> Cc: Evgeniy Polyakov <johnpol@2ka.mipt.ru> Cc: David Brownell <david-b@pacbell.net> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'fs/pipe.c')
0 files changed, 0 insertions, 0 deletions