提交 427aacfe 编写于 作者: D Dmitri Belimov 提交者: Mauro Carvalho Chehab

[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: NBeholder Intl. Ltd. Dmitry Belimov <d.belimov@gmail.com>
Signed-off-by: NMauro Carvalho Chehab <mchehab@redhat.com>
上级 aa777a88
......@@ -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);
}
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册