aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/uwb/reset.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/uwb/reset.c b/drivers/uwb/reset.c
index 703228559e89..8b47c9cdd642 100644
--- a/drivers/uwb/reset.c
+++ b/drivers/uwb/reset.c
@@ -97,6 +97,7 @@ int uwb_rc_cmd_async(struct uwb_rc *rc, const char *cmd_name,
97 neh = uwb_rc_neh_add(rc, cmd, expected_type, expected_event, cb, arg); 97 neh = uwb_rc_neh_add(rc, cmd, expected_type, expected_event, cb, arg);
98 if (IS_ERR(neh)) { 98 if (IS_ERR(neh)) {
99 result = PTR_ERR(neh); 99 result = PTR_ERR(neh);
100 uwb_dev_unlock(&rc->uwb_dev);
100 goto out; 101 goto out;
101 } 102 }
102 103