diff options
author | Dan Carpenter <dan.carpenter@oracle.com> | 2021-01-27 08:25:26 +0300 |
---|---|---|
committer | Guenter Roeck <linux@roeck-us.net> | 2021-01-28 04:44:19 +0300 |
commit | cbfc6c6177f9208762c7c4acec394214b1e8be0c (patch) | |
tree | 183cb55f0d2d9ee0b55ce620c78d360dfcad77fb /drivers/hwmon/pmbus/pmbus_core.c | |
parent | 86585c61972f0997ed5fef54a2eb5de0b268ad86 (diff) |
hwmon: (aht10) Unlock on error in aht10_read_values()
This error path needs to drop the lock before returning.
Fixes: afd018716398 ("hwmon: Add AHT10 Temperature and Humidity Sensor Driver")
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Link: https://lore.kernel.org/r/YBD5Ro549hMJSnW4@mwanda
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Diffstat (limited to 'drivers/hwmon/pmbus/pmbus_core.c')
0 files changed, 0 insertions, 0 deletions