Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 8e44ef75 authored by Camera Software Integration's avatar Camera Software Integration Committed by Gerrit - the friendly Code Review server
Browse files

Merge "msm: camera: req_mgr: Clean up debugfs entry" into camera-kernel.lnx.4.0

parents ac03dc0e 5a5fb4e8
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -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);
+1 −2
Original line number Diff line number Diff line
@@ -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);
}