]> git.karo-electronics.de Git - karo-tx-linux.git/commit
drivers/memstick/host/rtsx_pci_ms.c: fix ms card data transfer bug
authorMicky Ching <micky_ching@realsil.com.cn>
Fri, 3 Jan 2014 03:10:35 +0000 (14:10 +1100)
committerStephen Rothwell <sfr@canb.auug.org.au>
Fri, 3 Jan 2014 03:10:35 +0000 (14:10 +1100)
commita100739672e1fb509814f58500326bf48a089849
tree1a38a51f03d643f0702bc4fdca3b27d47fc772a0
parent15d1571cd5330e5a84f0aba0f29ddf13638e2566
drivers/memstick/host/rtsx_pci_ms.c: fix ms card data transfer bug

This patch is used to add support for ms card. The main difference
between ms card and mspro card is long data transfer mode. mspro card
can use auto mode DMA for long data transfer, but ms can not use this
mode, it should use normal mode DMA.

The memstick core added support for ms card, but the original driver will
make ms card fail at initialization, because it uses auto mode DMA.  This
patch makes the ms card work properly.

Signed-off-by: Micky Ching <micky_ching@realsil.com.cn>
Cc: Maxim Levitsky <maximlevitsky@gmail.com>
Cc: Samuel Ortiz <sameo@linux.intel.com>
Cc: Alex Dubov <oakad@yahoo.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
drivers/memstick/host/rtsx_pci_ms.c