Skip to content
Commit 648919f6 authored by Tim Lin's avatar Tim Lin Committed by Benjamin Cabé
Browse files

drivers/i2c: it51xxx: Refactor ISR to reduce clock stretch in PIO mode



Move handling of write-to-clear status and stop detect to the
beginning of the ISR for PIO mode to reduce unnecessary clock
stretching and improve responsiveness during transfers.

This patch also separates status clearing for shared FIFO mode,
ensuring it is done at the appropriate point after data handling
completes, maintaining correct transfer behavior.

Signed-off-by: default avatarTim Lin <tim2.lin@ite.corp-partner.google.com>
parent b8bfa362
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment