Skip to content
Commit 1bc2a79a authored by Sai Pavan Boddu's avatar Sai Pavan Boddu Committed by Michal Simek
Browse files

i2c: i2c-cdns: Start read transaction after write to transfer_size reg



Avoid a race condition where read transaction is started
keeping expected bytes as 0. Which sometimes would result in sending
STOP signal as no data is expected. Observed on QEMU platform.

Signed-off-by: default avatarSai Pavan Boddu <sai.pavan.boddu@xilinx.com>
Reviewed-by: default avatarAshok Reddy Soma <ashok.reddy.soma@xilinx.com>
Signed-off-by: default avatarMichal Simek <michal.simek@xilinx.com>
Link: https://lore.kernel.org/r/487c8026791bfd60719403a2df2c54bb0ae99232.1646122610.git.michal.simek@xilinx.com
parent d926695c
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