android_kernel_xiaomi_sm8350/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 Kbuild/doc: fix links to Documentation files 2007-10-30 14:26:30 -07:00
Makefile
w1_family.c W1: w1_family, remove unused variable need_exit 2008-10-16 11:21:50 -07:00
w1_family.h w1: new driver. DS2431 chip 2008-10-16 11:21:51 -07:00
w1_int.c W1: w1_int.c use first available master number 2008-10-16 11:21:50 -07:00
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 drivers: replace remaining __FUNCTION__ occurrences 2008-04-30 08:29:53 -07:00
w1_netlink.c
w1_netlink.h
w1.c W1: w1.c s/printk/dev_dbg/ 2008-10-16 11:21:50 -07:00
w1.h w1: export w1_read_8 function 2008-11-12 17:17:18 -08:00