summaryrefslogtreecommitdiff
path: root/drivers/ddr/microchip/ddr2.c
diff options
context:
space:
mode:
authorLey Foon Tan <ley.foon.tan@intel.com>2021-04-26 11:35:05 +0800
committerPeng Fan <peng.fan@nxp.com>2021-06-22 12:02:11 +0800
commit8cb9d3ed3a6402f984356988c581546866acf0da (patch)
tree9f83ee05a0436e1b646992ef7233ad5669b02672 /drivers/ddr/microchip/ddr2.c
parent3a3672cc3769a43750dd9fea90ed7a7900cb227f (diff)
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: Ley Foon Tan <ley.foon.tan@intel.com> Reviewed-by: Jaehoon Chung <jh80.chung@samsung.com>
Diffstat (limited to 'drivers/ddr/microchip/ddr2.c')
0 files changed, 0 insertions, 0 deletions