Re: [PATCH] i2c: meson: Fix wrong speed use from probe

From: Wolfram Sang
Date: Sat Mar 19 2022 - 19:22:05 EST


On Tue, Mar 01, 2022 at 07:26:00AM +0000, Lucas Tanure wrote:
> 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.
>
> Signed-off-by: Lucas Tanure <tanure@xxxxxxxxx>

Applied to for-next with a Fixes tag added, thanks!

Attachment: signature.asc
Description: PGP signature