diff options
author | Geert Uytterhoeven <geert+renesas@glider.be> | 2018-01-03 12:06:16 +0100 |
---|---|---|
committer | Stephen Boyd <sboyd@codeaurora.org> | 2018-01-10 13:13:22 -0800 |
commit | a6059ab98130fb561157682d320c51c5ccd4b647 (patch) | |
tree | e990364caee2d7c1eac84fe200a490201c04cb3c /Documentation | |
parent | f7ae75036762618ecc2cc7ae6fb4f6a74af92afb (diff) | |
download | linux-a6059ab98130fb561157682d320c51c5ccd4b647.tar.bz2 |
clk: Show symbolic clock flags in debugfs
Currently the virtual "clk_flags" file in debugfs shows the numeric
value of the top-level framework flags for the specified clock.
Hence the user must manually interpret these values.
Moreover, on big-endian 64-bit systems, the wrong half of the value is
shown, due to the cast from "unsigned long *" to "u32 *".
Fix both issues by showing the symbolic flag names instead.
Any non-standard flags are shown as a hex number.
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
Diffstat (limited to 'Documentation')
0 files changed, 0 insertions, 0 deletions