diff options
author | Dan Carpenter <dan.carpenter@oracle.com> | 2021-01-27 06:25:26 +0100 |
---|---|---|
committer | Guenter Roeck <linux@roeck-us.net> | 2021-01-28 02:44:19 +0100 |
commit | cbfc6c6177f9208762c7c4acec394214b1e8be0c (patch) | |
tree | 183cb55f0d2d9ee0b55ce620c78d360dfcad77fb /COPYING | |
parent | hwmon: (pwm-fan) stop using legacy PWM functions and some cleanups (diff) | |
download | linux-cbfc6c6177f9208762c7c4acec394214b1e8be0c.tar.xz linux-cbfc6c6177f9208762c7c4acec394214b1e8be0c.zip |
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 'COPYING')
0 files changed, 0 insertions, 0 deletions