]> git.baikalelectronics.ru Git - kernel.git/commit
mmc: atmel-mci: fix multiblock SDIO transfers
authorNicolas Ferre <nicolas.ferre@atmel.com>
Fri, 10 Dec 2010 18:14:32 +0000 (19:14 +0100)
committerChris Ball <cjb@laptop.org>
Tue, 21 Dec 2010 19:46:48 +0000 (11:46 -0800)
commitbc5e1518126978379645e439810c989ade0eaccf
tree6825a5324a8d9e608f14bfbed57732f5d3aeb2fc
parent94262a7e1460b6b72f8757f055dd3b3eb580dea7
mmc: atmel-mci: fix multiblock SDIO transfers

Based on report made by Yauhen in:
"MMC: Fix multiblock SDIO transfers in AT91 MCI" patch,
I report those changes to the brother driver: atmel-mci.

So, this patch sets SDIO transfer types: SDIO block and SDIO byte
transfers instead of using ordinary MMC block transfers.
It is checking opcode for SDIO CMD53 and setting transfer
type in MCI_CMDR register properly.

Reported-by: Yauhen Kharuzhy <yauhen.kharuzhy@promwad.com>
Cc: <stable@kernel.org>
Signed-off-by: Nicolas Ferre <nicolas.ferre@atmel.com>
Acked-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Signed-off-by: Chris Ball <cjb@laptop.org>
drivers/mmc/host/atmel-mci.c