diff options
author | Armin Wolf <W_Armin@gmx.de> | 2021-04-11 19:42:25 +0300 |
---|---|---|
committer | Guenter Roeck <linux@roeck-us.net> | 2021-04-20 16:50:14 +0300 |
commit | 790ac8fab116b31e0ff389f8a1c26fefe09000fa (patch) | |
tree | 94549c51d850ce8c7748f9802908d0edde80a968 /Documentation | |
parent | e7e0b466a8489288795e3bb0f93acde5b2e6ffa2 (diff) | |
download | linux-790ac8fab116b31e0ff389f8a1c26fefe09000fa.tar.xz |
hwmon: (sch5627) Split sch5627_update_device()
An error in sch5627_update_device() could cause sch5627_read()
to fail even if the error did not affect the target sensor type.
Split sch5627_update_device() to prevent that.
Tested on a Fujitsu Esprimo P720.
Signed-off-by: Armin Wolf <W_Armin@gmx.de>
Reviewed-by: Hans de Goede <hdegoede@redhat.com>
Link: https://lore.kernel.org/r/20210411164225.11967-3-W_Armin@gmx.de
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Diffstat (limited to 'Documentation')
0 files changed, 0 insertions, 0 deletions