diff options
author | Jarkko Nikula <jarkko.nikula@linux.intel.com> | 2018-06-19 14:23:21 +0300 |
---|---|---|
committer | Wolfram Sang <wsa@the-dreams.de> | 2018-07-03 23:05:35 +0200 |
commit | 3bd4f277274bd7dde65879e5c8cd16d0b34eba90 (patch) | |
tree | ab00e44111170c8f833ccb0144496c4dfbdfab72 /tools/perf/scripts/python/event_analyzing_sample.py | |
parent | 83b2cb48cbc5c4196fcc9357836f30713f74dbc2 (diff) |
i2c: designware: Call i2c_dw_clk_rate() only once in i2c_dw_init_master()
This is rather readability update than micro-optimization, or if not
optimization at all. We take the input clock rate to a variable and pass
that to SCL timing parameter calculation functions.
Reviewed-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: Jarkko Nikula <jarkko.nikula@linux.intel.com>
Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions