diff options
author | Wei Yongjun <weiyongjun1@huawei.com> | 2018-12-26 11:28:24 +0000 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2019-02-23 09:05:13 +0100 |
commit | 27763b01a4ff6a7cd87ed388f317ac489631468b (patch) | |
tree | dc795f20c8f26829cca54e01019f53ea20a0cfa1 /net/core/dev.c | |
parent | 9d6ca4d88e276a61fac3e6b47908f2abb0e6f3ae (diff) |
hwmon: (lm80) Fix missing unlock on error in set_fan_div()
[ Upstream commit 07bd14ccc3049f9c0147a91a4227a571f981601a ]
Add the missing unlock before return from function set_fan_div()
in the error handling case.
Fixes: c9c63915519b ("hwmon: (lm80) fix a missing check of the status of SMBus read")
Signed-off-by: Wei Yongjun <weiyongjun1@huawei.com>
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'net/core/dev.c')
0 files changed, 0 insertions, 0 deletions