summaryrefslogtreecommitdiff
path: root/drivers/mmc/host/ushc.c
diff options
context:
space:
mode:
authorLudovic Desroches <ludovic.desroches@atmel.com>2011-08-11 19:25:48 +0400
committerChris Ball <cjb@laptop.org>2011-10-26 23:43:26 +0400
commit7e8ba228d9f43a4e4b3ed0e6aa3399e8f30d7bc1 (patch)
treee6f437eef48a83bf36a8201dc803ab763193f574 /drivers/mmc/host/ushc.c
parent341fa4c3affe1171005597847a86e4c26dea8bb1 (diff)
downloadlinux-7e8ba228d9f43a4e4b3ed0e6aa3399e8f30d7bc1.tar.xz
mmc: atmel-mci: fix a potential issue about pending PDC interrupts
This patch fixes a potential issue about PDC interrupts. For example we have a ENDRX pending interrupt and a RXBUFF pending interrupt. We have received the RXBUFF interrupt but the transfer is not finished (so we didn't have time to give a new buffer to the PDC controller). Then we will compute ENDRX interrupt and we will give a new buffer to the PDC controller, just after we will compute the RXBUFF interrupt and give one or two new buffers to the PDC controller but we are not sure that the first buffer given has been filled. So in this situation we may have "lost" one sg buffer. It's the same for transmission. Signed-off-by: Ludovic Desroches <ludovic.desroches@atmel.com> Signed-off-by: Nicolas Ferre <nicolas.ferre@atmel.com> Signed-off-by: Chris Ball <cjb@laptop.org>
Diffstat (limited to 'drivers/mmc/host/ushc.c')
0 files changed, 0 insertions, 0 deletions