Skip to content
Commit c2e55b44 authored by Sai Pavan Boddu's avatar Sai Pavan Boddu Committed by Andi Shyti
Browse files

i2c: cadence: Avoid fifo clear after start



The Driver unintentionally programs ctrl reg to clear the fifo, which
happens after the start of transaction. Previously, this was not an issue
as it involved read-modified-write. However, this issue breaks i2c reads
on QEMU, as i2c-read is executed before guest starts programming control
register.

Fixes: ff0cf7bc ("i2c: cadence: Remove unnecessary register reads")
Signed-off-by: default avatarSai Pavan Boddu <sai.pavan.boddu@amd.com>
Acked-by: default avatarMichal Simek <michal.simek@amd.com>
Signed-off-by: default avatarAndi Shyti <andi.shyti@kernel.org>
parent dd5a440a
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment