linux-stable-rt/drivers/w1
Evgeniy Polyakov f00a189257 w1: fix slave selection on big-endian systems
During test of the w1-gpio driver i found that in "w1.c:679
w1_slave_found()" the device id is converted to little-endian with
"cpu_to_le64()", but its not converted back to cpu format in "w1_io.c:293
w1_reset_select_slave()".

Based on a patch created by Andreas Hummel.

[akpm@linux-foundation.org: remove unneeded cast]
Reported-by: Andreas Hummel <andi_hummel@gmx.de>
Signed-off-by: Evgeniy Polyakov <zbr@ioremap.net>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2008-12-23 15:58:21 -08:00
..
masters W1_MASTER_DS1WM should depend on HAVE_CLK 2008-11-30 10:03:36 -08:00
slaves hdq: bQ27000 HDQ Slave Interface Driver 2008-11-12 17:17:18 -08:00
Kconfig
Makefile
w1.c
w1.h
w1_family.c
w1_family.h
w1_int.c
w1_int.h
w1_io.c w1: fix slave selection on big-endian systems 2008-12-23 15:58:21 -08:00
w1_log.h
w1_netlink.c
w1_netlink.h