]> Gentwo Git Trees - linux/.git/commit
i2c: rtl9300: move setting SCL frequency to config_io
authorJonas Jelonek <jelonek.jonas@gmail.com>
Sat, 27 Sep 2025 10:19:26 +0000 (10:19 +0000)
committerAndi Shyti <andi.shyti@kernel.org>
Sat, 4 Oct 2025 09:43:40 +0000 (11:43 +0200)
commitd1cef7afc3c79260d4d1a86f7a814de2a1bf3fe4
tree887590d228ad5234a48bfc5b19a4d16d611c94e0
parentc840492ad7487dcb58b0f5f249793e7350114076
i2c: rtl9300: move setting SCL frequency to config_io

Move the register operation to set the SCL frequency to the
rtl9300_i2c_config_io function instead of the rtl9300_i2c_config_xfer
function. This rather belongs there next to selecting the current SDA
output line.

Signed-off-by: Jonas Jelonek <jelonek.jonas@gmail.com>
Tested-by: Sven Eckelmann <sven@narfation.org>
Reviewed-by: Chris Packham <chris.packham@alliedtelesis.co.nz>
Tested-by: Chris Packham <chris.packham@alliedtelesis.co.nz> # On RTL9302C based board
Tested-by: Markus Stockhausen <markus.stockhausen@gmx.de>
Signed-off-by: Andi Shyti <andi.shyti@kernel.org>
Link: https://lore.kernel.org/r/20250927101931.71575-5-jelonek.jonas@gmail.com
drivers/i2c/busses/i2c-rtl9300.c