aboutsummaryrefslogtreecommitdiffstats
path: root/lib/crypto/mpi/mpi-cmp.c
diff options
context:
space:
mode:
authorStanley Chu <[email protected]>2025-07-30 00:37:19 +0000
committerAlexandre Belloni <[email protected]>2025-07-30 23:36:16 +0000
commitbc4a09d8e79cadccdd505f47b01903a80bc666e7 (patch)
treeecfce86343e82eea1f665b51e44ff89a5e68bc76 /lib/crypto/mpi/mpi-cmp.c
parenti3c: master: Add basic driver for the Renesas I3C controller (diff)
downloadkernel-bc4a09d8e79cadccdd505f47b01903a80bc666e7.tar.gz
kernel-bc4a09d8e79cadccdd505f47b01903a80bc666e7.zip
i3c: master: svc: Fix npcm845 FIFO_EMPTY quirk
In a private write transfer, the driver pre-fills the FIFO to work around the FIFO_EMPTY quirk. However, if an IBIWON event occurs, the hardware emits a NACK and the driver initiates a retry. During the retry, driver attempts to pre-fill the FIFO again if there is remaining data, but since the FIFO is already full, this leads to data loss. Check available space in FIFO to prevent overflow. Fixes: 4008a74e0f9b ("i3c: master: svc: Fix npcm845 FIFO empty issue") Signed-off-by: Stanley Chu <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Alexandre Belloni <[email protected]>
Diffstat (limited to 'lib/crypto/mpi/mpi-cmp.c')
0 files changed, 0 insertions, 0 deletions