commit | 07bd14ccc3049f9c0147a91a4227a571f981601a | [log] [tgz] |
---|---|---|
author | Wei Yongjun <weiyongjun1@huawei.com> | Wed Dec 26 11:28:24 2018 +0000 |
committer | Guenter Roeck <linux@roeck-us.net> | Sun Jan 06 19:49:14 2019 -0800 |
tree | e607e74e5cb860a6e1c6f85a9403c6bd15934ee0 | |
parent | 9de15c95a63f527c8f7a968cd95e6ec71fc6891d [diff] |
hwmon: (lm80) Fix missing unlock on error in set_fan_div() 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>