mmc: atmel-mci: fix multiblock SDIO transfers
authorNicolas Ferre <nicolas.ferre@atmel.com>
Fri, 10 Dec 2010 18:14:32 +0000 (19:14 +0100)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 7 Jan 2011 21:58:41 +0000 (13:58 -0800)
commit3582ab36ca47895d5fa41d341969bf0d3d12a879
treedabb131de20afc7cf0c4f5306b0d869c9ca00c02
parent4be61e8c34498beb3364de68e16ca779b9ed609f
mmc: atmel-mci: fix multiblock SDIO transfers

commit 2f1d791882d21a4002a719fb016a1ac21c8bd6b7 upstream.

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>
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>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/mmc/host/atmel-mci.c