diff options
| author | Jarkko Nikula <[email protected]> | 2018-10-01 11:49:05 +0000 |
|---|---|---|
| committer | Wolfram Sang <[email protected]> | 2018-10-05 11:40:05 +0000 |
| commit | 9ce7610e6d201e3923c0b2f454f2e1d54f5da49e (patch) | |
| tree | 9cb5f7d68703b30af79028e3d58e49559a05248e /tools/perf/scripts/python/event_analyzing_sample.py | |
| parent | i2c: i2c-scmi: fix for i2c_smbus_write_block_data (diff) | |
| download | kernel-9ce7610e6d201e3923c0b2f454f2e1d54f5da49e.tar.gz kernel-9ce7610e6d201e3923c0b2f454f2e1d54f5da49e.zip | |
i2c: designware: Call i2c_dw_clk_rate() only when calculating timings
There are platforms which don't provide input clock rate but provide
I2C timing parameters. Commit 3bd4f277274b ("i2c: designware: Call
i2c_dw_clk_rate() only once in i2c_dw_init_master()") causes needless
warning during probe on those platforms since i2c_dw_clk_rate(), which
causes the warning when input clock is unknown, is called even when
there is no need to calculate timing parameters.
Fixes: 3bd4f277274b ("i2c: designware: Call i2c_dw_clk_rate() only once in i2c_dw_init_master()")
Reported-by: Ard Biesheuvel <[email protected]>
Cc: <[email protected]> # 4.19
Signed-off-by: Jarkko Nikula <[email protected]>
Tested-by: Ard Biesheuvel <[email protected]>
Signed-off-by: Wolfram Sang <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions
