diff options
author | Frank Li <[email protected]> | 2023-10-23 12:16:53 -0400 |
---|---|---|
committer | Alexandre Belloni <[email protected]> | 2023-11-03 19:48:17 +0100 |
commit | 6bf3fc268183816856c96b8794cd66146bc27b35 (patch) | |
tree | 8e1afc820aa9fcc8e65310d75a20f755a84bbcc0 /drivers/fpga/altera-fpga2sdram.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: <[email protected]>
Reviewed-by: Miquel Raynal <[email protected]>
Signed-off-by: Frank Li <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Alexandre Belloni <[email protected]>
Diffstat (limited to 'drivers/fpga/altera-fpga2sdram.c')
0 files changed, 0 insertions, 0 deletions