ANDROID: clk: Enable writable debugfs files
Enable writable clock debugfs files which are required for debugging and testing. This doesn't introduce security or safety issues for Android since debugfs itself is already considered unsafe and mounting it isn't allowed on user devices. Bug: 172264964 Change-Id: I68bd54cfe3765e2b3cbb208383c6117e662054b7 Signed-off-by: Mike Tipton <mdtipton@codeaurora.org>
This commit is contained in:
@@ -3107,7 +3107,7 @@ static int clk_dump_show(struct seq_file *s, void *data)
|
||||
}
|
||||
DEFINE_SHOW_ATTRIBUTE(clk_dump);
|
||||
|
||||
#undef CLOCK_ALLOW_WRITE_DEBUGFS
|
||||
#define CLOCK_ALLOW_WRITE_DEBUGFS
|
||||
#ifdef CLOCK_ALLOW_WRITE_DEBUGFS
|
||||
/*
|
||||
* This can be dangerous, therefore don't provide any real compile time
|
||||
|
||||
Reference in New Issue
Block a user