mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-12-11 21:14:07 +08:00
media: venus: core: Add missing mutex destroy
This adds missing mutex_destroy in remove method of venus core driver. Signed-off-by: Stanimir Varbanov <stanimir.varbanov@linaro.org> Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
This commit is contained in:
parent
e51759f56d
commit
cb1c05c89b
@ -335,6 +335,7 @@ static int venus_remove(struct platform_device *pdev)
|
||||
|
||||
v4l2_device_unregister(&core->v4l2_dev);
|
||||
mutex_destroy(&core->pm_lock);
|
||||
mutex_destroy(&core->lock);
|
||||
|
||||
return ret;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user