diff options
author | Jonathan Cormier <jcormier@criticallink.com> | 2023-01-26 17:32:25 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2023-03-10 09:33:20 +0100 |
commit | 355d109fb6b74791ca85403fad9b4d2ff6c588af (patch) | |
tree | 47724bbe2d9974664c61d6ca0bd142faea975234 /include/sound | |
parent | c710243ed668d24e6be8bf2fe2f53339bd6342d8 (diff) | |
download | linux-355d109fb6b74791ca85403fad9b4d2ff6c588af.tar.gz |
hwmon: (ltc2945) Handle error case in ltc2945_value_store
[ Upstream commit 178b01eccfb0b8149682f61388400bd3d903dddc ] ltc2945_val_to_reg errors were not being handled which would have resulted in register being set to 0 (clamped) instead of being left alone. Fixes: 6700ce035f83 ("hwmon: Driver for Linear Technologies LTC2945") Signed-off-by: Jonathan Cormier <jcormier@criticallink.com> Signed-off-by: Guenter Roeck <linux@roeck-us.net> Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'include/sound')
0 files changed, 0 insertions, 0 deletions