summaryrefslogtreecommitdiff
path: root/scripts/dummy-tools/python3
diff options
context:
space:
mode:
authorAdrian Hunter <adrian.hunter@intel.com>2026-06-16 14:37:50 +0300
committerAlexandre Belloni <alexandre.belloni@bootlin.com>2026-06-16 23:19:19 +0200
commitab5f9c5cb527c03790a92142ad368881a9100aaf (patch)
tree125a3bdea23aaac47e78b595da70b91f64177a02 /scripts/dummy-tools/python3
parent8d8afa428318a623aa674c3f90550475ad3e6ccd (diff)
i3c: master: Update dev_nack_retry_count under maintenance lock
Protect master->dev_nack_retry_count against concurrent sysfs updates by updating it while holding the bus maintenance lock. Consequently, combine adjacent return statements into one. For consistency, read dev_nack_retry_count while holding the bus normaluse lock. Fixes: b58f47eb39268 ("i3c: add sysfs entry and attribute for Device NACK Retry count") Signed-off-by: Adrian Hunter <adrian.hunter@intel.com> Reviewed-by: Frank Li <Frank.Li@nxp.com> Link: https://patch.msgid.link/20260616113752.196140-2-adrian.hunter@intel.com Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Diffstat (limited to 'scripts/dummy-tools/python3')
0 files changed, 0 insertions, 0 deletions