mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-07 12:25:00 -04:00
Merge "msm: camera: req_mgr: Clean up debugfs entry" into camera-kernel.lnx.4.0
This commit is contained in:
commit
8e44ef7540
2 changed files with 2 additions and 2 deletions
|
|
@ -1030,6 +1030,7 @@ void cam_mem_mgr_deinit(void)
|
|||
{
|
||||
atomic_set(&cam_mem_mgr_state, CAM_MEM_MGR_UNINITIALIZED);
|
||||
cam_mem_mgr_cleanup_table();
|
||||
debugfs_remove_recursive(tbl.dentry);
|
||||
mutex_lock(&tbl.m_lock);
|
||||
bitmap_zero(tbl.bitmap, tbl.bits);
|
||||
kfree(tbl.bitmap);
|
||||
|
|
|
|||
|
|
@ -141,6 +141,5 @@ int cam_req_mgr_debug_register(struct cam_req_mgr_core_device *core_dev)
|
|||
|
||||
void cam_req_mgr_debug_unregister(void)
|
||||
{
|
||||
if (!debugfs_root)
|
||||
debugfs_remove_recursive(debugfs_root);
|
||||
debugfs_remove_recursive(debugfs_root);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue