tmp_suning_uos_patched/drivers/w1
Luiz Sampaio 20c62caf2e w1: ds2438: fixing bug that would always get page0
[ Upstream commit 1f5e7518f063728aee0679c5086b92d8ea429e11 ]

The purpose of the w1_ds2438_get_page function is to get the register
values at the page passed as the pageno parameter. However, the page0 was
hardcoded, such that the function always returned the page0 contents. Fixed
so that the function can retrieve any page.

Signed-off-by: Luiz Sampaio <sampaio.ime@gmail.com>
Link: https://lore.kernel.org/r/20210519223046.13798-5-sampaio.ime@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2021-07-20 16:05:39 +02:00
..
masters w1: mxc_w1: Fix timeout resolution problem leading to bus error 2020-10-02 15:53:25 +02:00
slaves w1: ds2438: fixing bug that would always get page0 2021-07-20 16:05:39 +02:00
Kconfig treewide: replace '---help---' in Kconfig files with 'help' 2020-06-14 01:57:21 +09:00
Makefile
w1_family.c
w1_int.c
w1_internal.h
w1_io.c
w1_netlink.c
w1_netlink.h w1: Replace zero-length array with flexible-array 2020-06-15 23:08:32 -05:00
w1.c w1: Constify static w1_family_ops structs 2020-10-05 13:21:49 +02:00