On Thu, Oct 27, 2022 at 8:31 AM Yang Yingliang <yangyingliang@xxxxxxxxxx> wrote: > > Add the missing unlock before return from function jc42_write() > in the error handling case. > > Fixes: 37dedaee8bc6 ("hwmon: (jc42) Convert register access and caching to regmap/regcache") > Signed-off-by: Yang Yingliang <yangyingliang@xxxxxxxxxx> Reviewed-by: Martin Blumenstingl <martin.blumenstingl@xxxxxxxxxxxxxx> Thanks for spotting and fixing this issue!