2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2024-12-26 06:04:14 +08:00
linux-next/arch/arm/mach-at91/include/mach
Yauhen Kharuzhy a2255ff451 mmc: at91_mci: fix multiblock SDIO transfers
The AT91 MCI has special SDIO transfer types: SDIO block and SDIO byte
transfers, but at91_mci driver doesn't use them and handles all SDIO
transfers as ordinary MMC block transfers. This causes problems for
multiple-block SDIO transfers (in particular for 256-bytes blocks).

Fix this situation by checking the opcode for SDIO CMD53 and setting
the transfer type in the AT91_MCI_CMDR register properly.

This patch was tested with libertas SDIO driver: problem with TX
timeouts on big packets was eliminated.

Signed-off-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>
2010-12-21 11:46:32 -08:00
..
at91_adc.h [ARM] Move include/asm-arm/arch-* to arch/arm/*/include/mach 2008-08-07 09:55:48 +01:00
at91_aic.h [ARM] Move include/asm-arm/arch-* to arch/arm/*/include/mach 2008-08-07 09:55:48 +01:00
at91_dbgu.h [ARM] Move include/asm-arm/arch-* to arch/arm/*/include/mach 2008-08-07 09:55:48 +01:00
at91_mci.h mmc: at91_mci: fix multiblock SDIO transfers 2010-12-21 11:46:32 -08:00
at91_pio.h [ARM] Move include/asm-arm/arch-* to arch/arm/*/include/mach 2008-08-07 09:55:48 +01:00
at91_pit.h [ARM] 5265/3: [AT91] Add copyright info 2008-09-21 23:01:18 +01:00
at91_pmc.h ARM: 5850/1: [AT91] AT572D940HF processor support 2010-01-20 12:34:06 +00:00
at91_rstc.h [ARM] 5265/3: [AT91] Add copyright info 2008-09-21 23:01:18 +01:00
at91_rtc.h [ARM] Move include/asm-arm/arch-* to arch/arm/*/include/mach 2008-08-07 09:55:48 +01:00
at91_rtt.h [ARM] 5265/3: [AT91] Add copyright info 2008-09-21 23:01:18 +01:00
at91_shdwc.h [ARM] 5265/3: [AT91] Add copyright info 2008-09-21 23:01:18 +01:00
at91_spi.h [ARM] Move include/asm-arm/arch-* to arch/arm/*/include/mach 2008-08-07 09:55:48 +01:00
at91_ssc.h [ARM] Move include/asm-arm/arch-* to arch/arm/*/include/mach 2008-08-07 09:55:48 +01:00
at91_st.h [ARM] Move include/asm-arm/arch-* to arch/arm/*/include/mach 2008-08-07 09:55:48 +01:00
at91_tc.h [ARM] Move include/asm-arm/arch-* to arch/arm/*/include/mach 2008-08-07 09:55:48 +01:00
at91_twi.h [ARM] Move include/asm-arm/arch-* to arch/arm/*/include/mach 2008-08-07 09:55:48 +01:00
at91_wdt.h [ARM] 5265/3: [AT91] Add copyright info 2008-09-21 23:01:18 +01:00
at91cap9_ddrsdr.h ARM: 6185/1: AT91: PM: dual ram controller support 2010-07-09 12:31:50 +01:00
at91cap9_matrix.h [ARM] Move include/asm-arm/arch-* to arch/arm/*/include/mach 2008-08-07 09:55:48 +01:00
at91cap9.h ARM: 6185/1: AT91: PM: dual ram controller support 2010-07-09 12:31:50 +01:00
at91rm9200_emac.h [ARM] Move include/asm-arm/arch-* to arch/arm/*/include/mach 2008-08-07 09:55:48 +01:00
at91rm9200_mc.h [ARM] Move include/asm-arm/arch-* to arch/arm/*/include/mach 2008-08-07 09:55:48 +01:00
at91rm9200.h [ARM] Move include/asm-arm/arch-* to arch/arm/*/include/mach 2008-08-07 09:55:48 +01:00
at91sam9_ddrsdr.h ARM: 6185/1: AT91: PM: dual ram controller support 2010-07-09 12:31:50 +01:00
at91sam9_sdramc.h ARM: 6185/1: AT91: PM: dual ram controller support 2010-07-09 12:31:50 +01:00
at91sam9_smc.h [ARM] 5265/3: [AT91] Add copyright info 2008-09-21 23:01:18 +01:00
at91sam9g45_matrix.h [ARM] 5571/1: at91: Basic support for at91sam9g45 series: header files. 2009-06-27 11:05:21 +01:00
at91sam9g45.h ARM: 5622/1: at91: at91sam9g45 headers: DMA peripheral identifiers 2009-07-25 17:10:10 +01:00
at91sam9rl_matrix.h [ARM] Move include/asm-arm/arch-* to arch/arm/*/include/mach 2008-08-07 09:55:48 +01:00
at91sam9rl.h ARM: 6185/1: AT91: PM: dual ram controller support 2010-07-09 12:31:50 +01:00
at91sam9260_matrix.h [ARM] 5265/3: [AT91] Add copyright info 2008-09-21 23:01:18 +01:00
at91sam9260.h ARM: 6185/1: AT91: PM: dual ram controller support 2010-07-09 12:31:50 +01:00
at91sam9261_matrix.h [ARM] 5265/3: [AT91] Add copyright info 2008-09-21 23:01:18 +01:00
at91sam9261.h ARM: 6185/1: AT91: PM: dual ram controller support 2010-07-09 12:31:50 +01:00
at91sam9263_matrix.h [ARM] Move include/asm-arm/arch-* to arch/arm/*/include/mach 2008-08-07 09:55:48 +01:00
at91sam9263.h [ARM] Move include/asm-arm/arch-* to arch/arm/*/include/mach 2008-08-07 09:55:48 +01:00
at91x40.h AT91: fix use of clock disable on idle for AT91x40 devices 2010-10-07 19:56:54 +02:00
at572d940hf_matrix.h ARM: 5850/1: [AT91] AT572D940HF processor support 2010-01-20 12:34:06 +00:00
at572d940hf.h ARM: 5850/1: [AT91] AT572D940HF processor support 2010-01-20 12:34:06 +00:00
at_hdmac.h dmaengine: at_hdmac: add DMA slave transfers 2009-07-22 23:15:33 -07:00
atmel-mci.h atmel-mci: change use of dma slave interface 2009-12-15 08:53:35 -08:00
board.h at91: Convert remaining boards to new-style UART initialization 2010-11-30 17:21:29 +01:00
cpu.h ARM: 6169/1: AT91: add new at91 chips in at91sam9g45 family 2010-06-16 23:00:02 +01:00
debug-macro.S arm: return both physical and virtual addresses from addruart 2010-10-20 00:27:33 -04:00
entry-macro.S [ARM] Move include/asm-arm/arch-* to arch/arm/*/include/mach 2008-08-07 09:55:48 +01:00
gpio.h ARM: 6200/1: AT91: Define NR_BUILTIN_GPIO 2010-07-09 12:31:51 +01:00
hardware.h ARM: 5850/1: [AT91] AT572D940HF processor support 2010-01-20 12:34:06 +00:00
io.h [ARM] Add a common typesafe __io implementation 2008-11-30 11:45:54 +00:00
irqs.h [ARM] Convert asm/io.h to linux/io.h 2008-09-06 12:10:45 +01:00
memory.h [ARM] remove a common set of __virt_to_bus definitions 2008-11-28 15:36:49 +00:00
stamp9g20.h at91: Refactor Stamp9G20 and PControl G20 board file 2010-12-17 12:10:39 +01:00
system.h Merge branch 'for-rmk' of git://git.kernel.org/pub/scm/linux/kernel/git/kgene/linux-samsung into devel-stable 2010-10-19 20:12:24 +01:00
timex.h ARM: 5850/1: [AT91] AT572D940HF processor support 2010-01-20 12:34:06 +00:00
uncompress.h [ARM] Convert asm/io.h to linux/io.h 2008-09-06 12:10:45 +01:00
vmalloc.h [ARM] Move include/asm-arm/arch-* to arch/arm/*/include/mach 2008-08-07 09:55:48 +01:00