]> www.infradead.org Git - users/jedix/linux-maple.git/commit
clk: Fix JSON output in debugfs
authorStefan Wahren <stefan.wahren@i2se.com>
Wed, 29 Apr 2015 16:36:43 +0000 (16:36 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 3 Aug 2015 16:29:17 +0000 (09:29 -0700)
commitc4087d1c9897eade8ea4122956d4357f5d6a2043
tree66465e19966b18262133f8851979dc3c33f72981
parent8409afae50e61b3f8297483cf8b8abf52f951909
clk: Fix JSON output in debugfs

commit 7cb81136d2efe0f5ed9d965857f4756a15e6c338 upstream.

key/value pairs in a JSON object must be separated by a comma.
After adding the properties "accuracy" and "phase" the JSON output
of /sys/kernel/debug/clk/clk_dump is invalid.

So add the missing commas to fix it.

Fixes: 5279fc402ae5 ("clk: add clk accuracy retrieval support")
Signed-off-by: Stefan Wahren <stefan.wahren@i2se.com>
[sboyd@codeaurora.org: Added comment in function]
Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/clk/clk.c