diff options
author | Lokesh Vutla <[email protected]> | 2016-03-26 23:08:55 -0600 |
---|---|---|
committer | Paul Walmsley <[email protected]> | 2016-03-26 23:08:55 -0600 |
commit | 3ca4a238106dedc285193ee47f494a6584b6fd2f (patch) | |
tree | a41b2aac6b1ddaee8f351fe1eb439f0737d61fb8 /tools/perf/util/trace-event-scripting.c | |
parent | f55532a0c0b8bb6148f4e07853b876ef73bc69ca (diff) |
ARM: OMAP2+: hwmod: Fix updating of sysconfig register
Commit 127500ccb766f ("ARM: OMAP2+: Only write the sysconfig on idle
when necessary") talks about verification of sysconfig cache value before
updating it, only during idle path. But the patch is adding the
verification in the enable path. So, adding the check in a proper place
as per the commit description.
Not keeping this check during enable path as there is a chance of losing
context and it is safe to do on idle as the context of the register will
never be lost while the device is active.
Signed-off-by: Lokesh Vutla <[email protected]>
Acked-by: Tero Kristo <[email protected]>
Cc: Jon Hunter <[email protected]>
Cc: <[email protected]> # 3.12+
Fixes: commit 127500ccb766 "ARM: OMAP2+: Only write the sysconfig on idle when necessary"
[[email protected]: appears to have been caused by my own mismerge of the
originally posted patch]
Signed-off-by: Paul Walmsley <[email protected]>
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions