mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-01-16 01:54:00 +00:00
[media] tm6000: Fix mutex unbalance
Hi Fix never unlocked mutex. No more crash after removing USB stick. With my best regards, Dmitry. Signed-off-by: Beholder Intl. Ltd. Dmitry Belimov <d.belimov@gmail.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
This commit is contained in:
parent
aa777a88b2
commit
427aacfe1d
@ -722,5 +722,5 @@ void tm6000_close_extension(struct tm6000_core *dev)
|
||||
ops->fini(dev);
|
||||
}
|
||||
}
|
||||
mutex_lock(&tm6000_devlist_mutex);
|
||||
mutex_unlock(&tm6000_devlist_mutex);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user