mmc: Allow 2 byte requests in 4-bit mode for tmio_mmc
authorYusuke Goda <yusuke.goda.sx@renesas.com>
Mon, 30 Aug 2010 10:50:19 +0000 (11:50 +0100)
committerSamuel Ortiz <sameo@linux.intel.com>
Thu, 28 Oct 2010 22:29:16 +0000 (00:29 +0200)
commitf1334fb3c3006ba109886158c0ad79512f928bc1
tree99038a92a9e1bf77e96129473614fad4d99a0d33
parent68accd7370a90b899ea6563ba9032e5a102ec1b5
mmc: Allow 2 byte requests in 4-bit mode for tmio_mmc

Adjust the tmio_mmc block size check to accept 2-byte requests in 4-bit
mode if the hardware supports it.

Tested with the SDHI hardware block included in sh7724.

Signed-off-by: Yusuke Goda <yusuke.goda.sx@renesas.com>
Signed-off-by: Matt Fleming <matt@console-pimps.org>
Acked-by: Magnus Damm <damm@opensource.se>
Tested-by: Arnd Hannemann <arnd@arndnet.de>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
drivers/mfd/sh_mobile_sdhi.c
drivers/mmc/host/tmio_mmc.c
include/linux/mfd/tmio.h