diff options
author | Frank Li <Frank.Li@nxp.com> | 2023-10-23 12:16:53 -0400 |
---|---|---|
committer | Alexandre Belloni <alexandre.belloni@bootlin.com> | 2023-11-03 19:48:17 +0100 |
commit | 6bf3fc268183816856c96b8794cd66146bc27b35 (patch) | |
tree | 8e1afc820aa9fcc8e65310d75a20f755a84bbcc0 /lib/netdev-notifier-error-inject.c | |
parent | 57ec42b9a1b7e4db4a1c2aa4fcc4eefe6d31bcb8 (diff) |
i3c: master: svc: fix race condition in ibi work thread
The ibi work thread operates asynchronously with other transfers, such as
svc_i3c_master_priv_xfers(). Introduce mutex protection to ensure the
completion of the entire i3c/i2c transaction.
Fixes: dd3c52846d59 ("i3c: master: svc: Add Silvaco I3C master driver")
Cc: <stable@vger.kernel.org>
Reviewed-by: Miquel Raynal <miquel.raynal@bootlin.com>
Signed-off-by: Frank Li <Frank.Li@nxp.com>
Link: https://lore.kernel.org/r/20231023161658.3890811-2-Frank.Li@nxp.com
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Diffstat (limited to 'lib/netdev-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions