diff options
author | Frank Li <Frank.Li@nxp.com> | 2024-05-06 12:40:08 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2024-06-12 11:39:42 +0200 |
commit | f8fce43e08fe14d35f94c1372db2845e57eeecd6 (patch) | |
tree | 611c7fa6da8ca49a4d4097811c9e226ece55184e /arch/riscv/kernel/stacktrace.c | |
parent | 83e00e3be3258c724d016bc3f46827ffbd216588 (diff) |
i3c: master: svc: change ENXIO to EAGAIN when IBI occurs during start frame
[ Upstream commit 7f3d633b460be5553a65a247def5426d16805e72 ]
svc_i3c_master_xfer() returns error ENXIO if an In-Band Interrupt (IBI)
occurs when the host starts the frame.
Change error code to EAGAIN to inform the client driver that this
situation has occurred and to try again sometime later.
Fixes: 5e5e3c92e748 ("i3c: master: svc: fix wrong data return when IBI happen during start frame")
Signed-off-by: Frank Li <Frank.Li@nxp.com>
Reviewed-by: Miquel Raynal <miquel.raynal@bootlin.com>
Link: https://lore.kernel.org/r/20240506164009.21375-2-Frank.Li@nxp.com
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'arch/riscv/kernel/stacktrace.c')
0 files changed, 0 insertions, 0 deletions