]> git.ipfire.org Git - thirdparty/linux.git/commit
i3c: master: cdns: use adapter timeout value for I2C transfers
authorWolfram Sang <wsa+renesas@sang-engineering.com>
Wed, 4 Jun 2025 10:18:28 +0000 (12:18 +0200)
committerAlexandre Belloni <alexandre.belloni@bootlin.com>
Thu, 3 Jul 2025 23:10:07 +0000 (01:10 +0200)
commitbe27ed672878bdfb38580b491270f38cc5c36b38
treeffd903b44dc871c545e15a94a7f82267b154c3a4
parent1b84691e7870bc5b6a66a1e81abe0eae8359dfce
i3c: master: cdns: use adapter timeout value for I2C transfers

I2C adapters have their own timeout value which can be changed by
userspace if desired. Use it for I2C transfers. The default is 1Hz, so
the default behaviour is unchanged.

Signed-off-by: Wolfram Sang <wsa+renesas@sang-engineering.com>
Reviewed-by: Frank Li <Frank.Li@nxp.com>
Link: https://lore.kernel.org/r/20250604101831.56585-3-wsa+renesas@sang-engineering.com
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
drivers/i3c/master/i3c-master-cdns.c