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

Commit a262736c authored by Taniya Das's avatar Taniya Das
Browse files

clk: clk-debug: Update file permission for clk_measure debugfs



The current file permission for clk_measure is incorrect, so update it to
reflect the correct read-only permission.

Change-Id: I9d4dd7e1cc3eb4ea3d8c7c9c65cfd9fef3023ab4
Signed-off-by: default avatarTaniya Das <tdas@codeaurora.org>
parent 14681b57
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
/*
 * Copyright (c) 2017, The Linux Foundation. All rights reserved.
 * Copyright (c) 2017-2018, The Linux Foundation. All rights reserved.
 *
 * This program is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License version 2 and
@@ -275,7 +275,7 @@ int clk_debug_measure_add(struct clk_hw *hw, struct dentry *dentry)
	if (clk_set_parent(measure->clk, hw->clk))
		return 0;

	debugfs_create_file("clk_measure", 0x444, dentry, hw,
	debugfs_create_file("clk_measure", 0444, dentry, hw,
					&clk_measure_fops);
	return 0;
}