diff options
author | Frank Li <Frank.Li@nxp.com> | 2025-01-29 11:22:50 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2025-05-29 11:02:43 +0200 |
commit | a82c0c39967710d6232b51a78b71222e9ffec705 (patch) | |
tree | e2a64fd3a4c484bc9a795827c8c9f6aa8527cf50 /drivers/i3c/master.c | |
parent | 7d0c92af8d3557131da00059d34712b82922aecb (diff) |
i3c: master: svc: Flush FIFO before sending Dynamic Address Assignment(DAA)
[ Upstream commit a892ee4cf22a50e1d6988d0464a9a421f3e5db2f ]
Ensure the FIFO is empty before issuing the DAA command to prevent
incorrect command data from being sent. Align with other data transfers,
such as svc_i3c_master_start_xfer_locked(), which flushes the FIFO before
sending a command.
Signed-off-by: Frank Li <Frank.Li@nxp.com>
Reviewed-by: Miquel Raynal <miquel.raynal@bootlin.com>
Link: https://lore.kernel.org/r/20250129162250.3629189-1-Frank.Li@nxp.com
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'drivers/i3c/master.c')
0 files changed, 0 insertions, 0 deletions