at91_mci: manage cmd error and data error independently
authorNicolas Ferre <nicolas.ferre@atmel.com>
Tue, 10 Jun 2008 09:27:29 +0000 (11:27 +0200)
committerPierre Ossman <drzeus@drzeus.cx>
Tue, 15 Jul 2008 12:14:42 +0000 (14:14 +0200)
commitfa1fe010c126ee69f2f75e3a4efc2f6252281ff8
tree807bef63045ebe8e3de3c91fd71e9f62b23a3b61
parentba7deeed96ca1855c153ad81c45baf6efe1a3362
at91_mci: manage cmd error and data error independently

In at91_mci_completed_command() function, this patch distinguishes
command error and data error. It reports it in the corresponding
error field.

Signed-off-by: Nicolas Ferre <nicolas.ferre@atmel.com>
Signed-off-by: Pierre Ossman <drzeus@drzeus.cx>
drivers/mmc/host/at91_mci.c