aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/Util.py
diff options
context:
space:
mode:
authorWeifeng Voon <[email protected]>2016-08-12 17:02:50 +0300
committerWolfram Sang <[email protected]>2016-08-26 00:42:06 +0200
commit548e6695d16d201f390f7554ae7d0b5bb8690166 (patch)
tree34600c2e0d5b83645ed998c288b2bfd31ca173b4 /tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/Util.py
parentd608c3d9ac818fc0addc884144c7550e03b0fc6f (diff)
i2c: designware: set the common config before the if else
DW_IC_CON_MASTER, DW_IC_CON_SLAVE_DISABLE and DW_IC_CON_RESTART_EN are common config that need to be set for i2c designware master. So, configure it first without having to repeat inside the if else. Signed-off-by: Weifeng Voon <[email protected]> Signed-off-by: Jarkko Nikula <[email protected]> Reviewed-by: Andy Shevchenko <[email protected]> Signed-off-by: Wolfram Sang <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/Util.py')
0 files changed, 0 insertions, 0 deletions