On Wed, 09 Sep 2020 01:39:38 +0300, Dmitry Osipenko wrote: > The "non_hs_mode" divisor value is fixed, thus there is no need to have > the variable i2c_dev.clk_divisor_non_hs_mode struct member. Let's remove > it and move the mode selection into tegra_i2c_init() where it can be > united with the timing selection. > > Reviewed-by: Michał Mirosław <mirq-li...@rere.qmqm.pl> > Signed-off-by: Dmitry Osipenko <dig...@gmail.com> > --- > drivers/i2c/busses/i2c-tegra.c | 46 ++++++++++++++++------------------ > 1 file changed, 21 insertions(+), 25 deletions(-)
Tested-by: Thierry Reding <tred...@nvidia.com>