Commit 9395b3c
i3c: Fix default I2C adapter timeout value
Commit 3a379bb ("i3c: Add core I3C infrastructure") set the default
adapter timeout for I2C transfers as 1000 (ms). However that parameter
is defined in jiffies not in milliseconds.
With mipi-i3c-hci driver this wasn't visible until commit c0a90eb
("i3c: mipi-i3c-hci: use adapter timeout value for I2C transfers").
Fix this by setting the default timeout as HZ (CONFIG_HZ) not 1000.
Fixes: 1b84691 ("i3c: dw: use adapter timeout value for I2C transfers")
Fixes: be27ed6 ("i3c: master: cdns: use adapter timeout value for I2C transfers")
Fixes: c0a90eb ("i3c: mipi-i3c-hci: use adapter timeout value for I2C transfers")
Fixes: a747e01 ("i3c: master: svc: use adapter timeout value for I2C transfers")
Fixes: d028219 ("i3c: master: Add basic driver for the Renesas I3C controller")
Fixes: 3a379bb ("i3c: Add core I3C infrastructure")
Cc: stable@vger.kernel.org # 6.17
Signed-off-by: Jarkko Nikula <jarkko.nikula@linux.intel.com>
Reviewed-by: Frank Li <Frank.Li@nxp.com>
Reviewed-by: Wolfram Sang <wsa+renesas@sang-engineering.com>
Link: https://lore.kernel.org/r/20250905100320.954536-1-jarkko.nikula@linux.intel.com
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>1 parent a4ea64a commit 9395b3c
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2566 | 2566 | | |
2567 | 2567 | | |
2568 | 2568 | | |
2569 | | - | |
| 2569 | + | |
2570 | 2570 | | |
2571 | 2571 | | |
2572 | 2572 | | |
| |||
0 commit comments