Lucas Tanure cb13aa16f3 i2c: meson: Fix wrong speed use from probe
Having meson_i2c_set_clk_div after i2c_add_adapter
causes issues for client drivers that try to use
the bus before the requested speed is applied.

The bus can be used just after i2c_add_adapter, so
move i2c_add_adapter to the final step as
meson_i2c_set_clk_div needs to be called before
the bus is used.

Fixes: 09af1c2fa490 ("i2c: meson: set clock divider in probe instead of setting it for each transfer")
Signed-off-by: Lucas Tanure <tanure@linux.com>
Reviewed-by: Neil Armstrong <narmstrong@baylibre.com>
Signed-off-by: Wolfram Sang <wsa@kernel.org>
2022-03-20 00:20:38 +01:00
..
2020-09-27 15:14:16 +02:00
2021-04-14 10:20:00 +02:00
2021-01-05 17:30:45 +01:00
2021-08-19 19:18:24 +02:00
2021-08-19 19:18:17 +02:00
2021-04-14 10:20:45 +02:00
2022-02-07 17:03:36 +01:00
2021-10-02 09:32:06 +02:00
2022-02-11 18:32:02 +01:00
2022-03-01 16:05:01 +01:00
2021-08-19 19:18:24 +02:00
2021-04-17 22:00:58 +02:00
2022-01-14 18:50:52 -05:00
2022-03-02 22:26:41 +01:00
2021-11-23 10:00:12 +01:00