All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] tmio_mmc: Revise a limit of the data size
@ 2010-07-07  2:01 Yusuke Goda
  2010-07-08 21:46 ` Andrew Morton
  0 siblings, 1 reply; 10+ messages in thread
From: Yusuke Goda @ 2010-07-07  2:01 UTC (permalink / raw)
  To: linux-mmc; +Cc: Andrew Morton, Magnus Damm

Signed-off-by: Yusuke Goda <yusuke.goda.sx@renesas.com>
---
 drivers/mmc/host/tmio_mmc.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/drivers/mmc/host/tmio_mmc.c b/drivers/mmc/host/tmio_mmc.c
index ee7d0a5..cac1c97 100644
--- a/drivers/mmc/host/tmio_mmc.c
+++ b/drivers/mmc/host/tmio_mmc.c
@@ -661,7 +661,7 @@ static int tmio_mmc_start_data(struct tmio_mmc_host *host,
 		 data->blksz, data->blocks);

 	/* Hardware cannot perform 1 and 2 byte requests in 4 bit mode */
-	if (data->blksz < 4 && host->mmc->ios.bus_width == MMC_BUS_WIDTH_4) {
+	if (data->blksz < 2 && host->mmc->ios.bus_width == MMC_BUS_WIDTH_4) {
 		pr_err("%s: %d byte block unsupported in 4 bit mode\n",
 		       mmc_hostname(host->mmc), data->blksz);
 		return -EINVAL;
-- 
1.7.0




^ permalink raw reply related	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2010-08-26 10:28 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-07-07  2:01 [PATCH] tmio_mmc: Revise a limit of the data size Yusuke Goda
2010-07-08 21:46 ` Andrew Morton
2010-07-13  2:32   ` Yusuke Goda
2010-08-25 21:52     ` Matt Fleming
2010-08-25 22:05       ` Andrew Morton
2010-08-25 22:19         ` Matt Fleming
2010-08-26  1:50         ` Ian Molton
2010-08-26  7:24           ` Matt Fleming
2010-08-26  7:26             ` Magnus Damm
2010-08-26 10:28               ` Ian Molton

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.