drivers/w1/masters/w1-gpio.c: add strong pullup emulation
authorEvgeny Boger <boger@contactless.ru>
Thu, 23 Jan 2014 23:56:18 +0000 (15:56 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Fri, 24 Jan 2014 00:37:04 +0000 (16:37 -0800)
commit3089a4c8d3abc7e2ab105d1d39d415110d1566d6
tree5064f69853949cb8b5d245c932f65a3202d21219
parent63509beaf7ed7a9dc8c574be61189fce791489f0
drivers/w1/masters/w1-gpio.c: add strong pullup emulation

Strong pullup is emulated by driving pin logic high after write command
when using tri-state push-pull GPIO.

Signed-off-by: Evgeny Boger <boger@contactless.ru>
Cc: Greg KH <greg@kroah.com>
Acked-by: David Fries <david@fries.net>
Acked-by: Evgeniy Polyakov <zbr@ioremap.net>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/w1/masters/w1-gpio.c
drivers/w1/w1_int.c
include/linux/w1-gpio.h