i2c: tegra: Initialize div-clk rate unconditionally
authorDmitry Osipenko <digetx@gmail.com>
Tue, 29 Sep 2020 22:18:48 +0000 (01:18 +0300)
committerWolfram Sang <wsa@kernel.org>
Mon, 5 Oct 2020 20:57:40 +0000 (22:57 +0200)
commit8548a75f3e8d8d39c1f4ceca04c4febfa8eaa127
treec4706d0639bec759733e066f60cae1b784c80be5
parented022e5dd3a044b95a68d685d2d2871ce31351df
i2c: tegra: Initialize div-clk rate unconditionally

It doesn't make sense to conditionalize the div-clk rate changes because
rate is fixed and it won't ever change once it's set at the driver's probe
time. All further changes are NO-OPs because CCF caches rate and skips
rate-change if rate is unchanged.

Reviewed-by: Michał Mirosław <mirq-linux@rere.qmqm.pl>
Reviewed-by: Andy Shevchenko <andy.shevchenko@gmail.com>
Acked-by: Thierry Reding <treding@nvidia.com>
Tested-by: Thierry Reding <treding@nvidia.com>
Signed-off-by: Dmitry Osipenko <digetx@gmail.com>
Signed-off-by: Wolfram Sang <wsa@kernel.org>
drivers/i2c/busses/i2c-tegra.c