diff options
author | Luiz Sampaio <sampaio.ime@gmail.com> | 2021-05-20 00:30:44 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2021-05-21 14:51:33 +0200 |
commit | 1f5e7518f063728aee0679c5086b92d8ea429e11 (patch) | |
tree | 9ddbe16f624511c31dc5738459c63f7c04dceefc /drivers/s390 | |
parent | w1: ds2438: changed sysfs macro for rw file (diff) | |
download | linux-1f5e7518f063728aee0679c5086b92d8ea429e11.tar.xz linux-1f5e7518f063728aee0679c5086b92d8ea429e11.zip |
w1: ds2438: fixing bug that would always get page0
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>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions