diff options
author | Seungwon Jeon <tgih.jun@samsung.com> | 2011-06-20 17:24:16 +0900 |
---|---|---|
committer | Chris Ball <cjb@laptop.org> | 2011-07-20 17:20:53 -0400 |
commit | 6e83e10d92e12fa0181766a1fbb00d857bfab779 (patch) | |
tree | 9a6a19212477dc7f5a82ca6ecb9bbbb8238ec005 /drivers/mmc/card/block.c | |
parent | 1d56c453b14854637567c838109127b8decbf328 (diff) | |
download | linux-3.10-6e83e10d92e12fa0181766a1fbb00d857bfab779.tar.gz linux-3.10-6e83e10d92e12fa0181766a1fbb00d857bfab779.tar.bz2 linux-3.10-6e83e10d92e12fa0181766a1fbb00d857bfab779.zip |
mmc: dw_mmc: protect a sequence of request and request-done.
Response timeout (RTO), Response crc error (RCRC) and Response error (RE)
signals come with command done (CD) and can be raised preceding command
done (CD). That is these error interrupts and CD can be handled in
separate dw_mci_interrupt(). If mmc_request_done() is called because of
a response timeout before command done has occured, we might send the
next request before the CD of current request is finished. This can
bring about a broken sequence of request and request-done.
And Data error interrupt (DRTO, DCRC, SBE, EBE) and data transfer
over (DTO) have the same problem.
Signed-off-by: Seungwon Jeon <tgih.jun@samsung.com>
Acked-by: Will Newton <will.newton@imgtec.com>
Signed-off-by: Chris Ball <cjb@laptop.org>
Diffstat (limited to 'drivers/mmc/card/block.c')
0 files changed, 0 insertions, 0 deletions