Skip to content
Snippets Groups Projects
Commit 8cb9d3ed authored by Ley Foon Tan's avatar Ley Foon Tan Committed by Peng Fan
Browse files

mmc: dw_mmc: Fixes data read when receiving DTO interrupt in FIFO mode


The data read is not working when using FIFO mode.

From DesignWare databook, when a Data_Transfer_Over (DTO) interrupt is
received, the software should read the remaining data from FIFO.

Add DTO interrupt checking on data read path and clear interrupts before
start reading from FIFO. So, it doesn't clear the next pending
interrupts unintentionally after read from FIFO.

Signed-off-by: default avatarLey Foon Tan <ley.foon.tan@intel.com>
Reviewed-by: default avatarJaehoon Chung <jh80.chung@samsung.com>
parent 3a3672cc
No related merge requests found
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