mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git
synced 2025-01-01 10:42:11 +00:00
thunderbolt: Unlock on error path in tb_domain_add()
We accidentally deleted this unlock on the error path. Undelete it.
Fixes: 7f0a34d790
("thunderbolt: Decrease control channel timeout for software connection manager")
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Mika Westerberg <mika.westerberg@linux.intel.com>
This commit is contained in:
parent
3231307e39
commit
2e7a5b3e22
@ -493,6 +493,7 @@ int tb_domain_add(struct tb *tb)
|
||||
device_del(&tb->dev);
|
||||
err_ctl_stop:
|
||||
tb_ctl_stop(tb->ctl);
|
||||
mutex_unlock(&tb->lock);
|
||||
|
||||
return ret;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user