Skip to content
Commit 95b22bd6 authored by Conor Dooley's avatar Conor Dooley Committed by Heiko Schocher
Browse files

i2c: microchip: fix ack sending logic



"Master receive mode" was not correctly sending ACKs/NACKs in the
interrupt handler. Bring the handling of M_SLAR_ACK, M_RX_DATA_ACKED &
M_RX_DATA_NACKED in line with the Linux driver.

Fixes: 0dc0d1e0 ("i2c: Add Microchip PolarFire SoC I2C driver")
Reported-by: default avatarShravan Chippa <shravan.chippa@microchip.com>
Signed-off-by: default avatarConor Dooley <conor.dooley@microchip.com>
Reviewed-by: default avatarPadmarao Begari <padmarao.begari@microchip.com>
Reviewed-by: default avatarHeiko Schocher <hs@denx.de>
parent 0cbeed4f
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment