WSL2-Linux-Kernel/drivers/w1/masters
Daniel Mack 8d0df7a3d1 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>
2009-03-12 16:20:23 -07:00
..
Kconfig w1: add 1-wire master driver for i.MX27 / i.MX31 2009-01-08 08:31:13 -08:00
Makefile w1: add 1-wire master driver for i.MX27 / i.MX31 2009-01-08 08:31:13 -08:00
ds1wm.c W1: ds1wm.c msleep for reset 2008-10-16 11:21:50 -07:00
ds2482.c w1/ds2482: Convert to a new-style driver 2008-07-16 19:30:07 +02:00
ds2490.c W1: ds2490.c optimize ds_set_pullup 2008-10-16 11:21:51 -07:00
matrox_w1.c Clean up duplicate includes in drivers/w1/ 2007-10-17 08:42:48 -07:00
mxc_w1.c w1: add 1-wire master driver for i.MX27 / i.MX31 2009-01-08 08:31:13 -08:00
omap_hdq.c W1 OMAP: Fix OMAP LDP boot crash 2008-11-19 18:50:00 -08:00
w1-gpio.c drivers/w1/masters/w1-gpio.c: fix read_bit() 2009-03-12 16:20:23 -07:00