]> git.ipfire.org Git - thirdparty/linux.git/commit
i3c: master: Use unsigned int for dev_nack_retry_count consistently
authorAdrian Hunter <adrian.hunter@intel.com>
Tue, 16 Jun 2026 11:37:52 +0000 (14:37 +0300)
committerAlexandre Belloni <alexandre.belloni@bootlin.com>
Tue, 16 Jun 2026 21:19:19 +0000 (23:19 +0200)
commit225b76e2a711dc061ec337befba49dd3ee75e534
treed0801b9a6dd4303d618fcbda2ea298503d86e2b1
parent79ce29e100ab3de0cad66eb48d32a7de4043e2ae
i3c: master: Use unsigned int for dev_nack_retry_count consistently

Use unsigned int for dev_nack_retry_count across the core and
controller drivers to match the type of master->dev_nack_retry_count.

Update the sysfs store path to use kstrtouint() and adjust the
 ->set_dev_nack_retry() callback prototype and callers accordingly.

Signed-off-by: Adrian Hunter <adrian.hunter@intel.com>
Reviewed-by: Frank Li <Frank.Li@nxp.com>
Link: https://patch.msgid.link/20260616113752.196140-4-adrian.hunter@intel.com
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
drivers/i3c/master.c
drivers/i3c/master/dw-i3c-master.c
include/linux/i3c/master.h