sdio: add quirk to clamp byte mode transfer
authorBing Zhao <bzhao@marvell.com>
Fri, 5 Mar 2010 21:43:25 +0000 (13:43 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Sat, 6 Mar 2010 19:26:36 +0000 (11:26 -0800)
commit3fb7fb4a01d09f81d1daaf65e52d929734bd691f
tree8feac2d211f833fc1ef287aba3b138886454f45c
parent729adf1b5f4562f67fe8bf6c1df97edc1128fac7
sdio: add quirk to clamp byte mode transfer

Some SDIO cards expect byte transfers not to exceed the configured block
transfer size.  Add a quirk to that effect.

Patches to make use of this quirk will be sent separately.

Signed-off-by: Bing Zhao <bzhao@marvell.com>
Signed-off-by: Nicolas Pitre <nico@marvell.com>
Cc: <linux-mmc@vger.kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/mmc/core/sdio_io.c
include/linux/mmc/card.h