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@mwandaSigned-off-by: Guenter Roeck <linux@roeck-us.net>
Showing
Please register or sign in to comment