android_kernel_xiaomi_sm8350/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
..
ds1wm.c
ds2482.c
ds2490.c
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
matrox_w1.c
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-gpio.c drivers/w1/masters/w1-gpio.c: fix read_bit() 2009-03-12 16:20:23 -07:00