public inbox for linux-omap@vger.kernel.org
 help / color / mirror / Atom feed
* Add MMC_CAP_{MULTIWRITE,BYTEBLOCK} flags in omap.c
@ 2006-11-06 19:22 Carlos Aguiar
  2006-11-10  0:36 ` Tony Lindgren
  0 siblings, 1 reply; 2+ messages in thread
From: Carlos Aguiar @ 2006-11-06 19:22 UTC (permalink / raw)
  To: linux-omap-open-source, Tony Lindgren, Juha Yrjola

[-- Attachment #1: Type: text/plain, Size: 320 bytes --]

Hi Tony and folks,

Following previous comments from Juha and Pierre, this patch add
MMC_CAP_{MULTIWRITE,BYTEBLOCK} flags in omap.c

BR,

Carlos.

-- 
Carlos Eduardo
Nokia Institute of Technology - INdT
Embedded Linux Laboratory - 10LE
Phone: +55 92 2126-1079
Mobile: +55 92 8127-1797
E-mail: carlos.aguiar@indt.org.br


[-- Attachment #2: mmc_omap_caps.diff --]
[-- Type: text/plain, Size: 773 bytes --]

Add MMC_CAP_{MULTIWRITE,BYTEBLOCK} flags

Signed-off-by: Carlos Eduardo Aguiar <carlos.aguiar <at> indt.org.br>

Index: linux-omap-git/drivers/mmc/omap.c
===================================================================
--- linux-omap-git.orig/drivers/mmc/omap.c	2006-11-06 13:20:29.000000000 -0400
+++ linux-omap-git/drivers/mmc/omap.c	2006-11-06 13:50:28.000000000 -0400
@@ -1088,8 +1088,8 @@ static int __init mmc_omap_probe(struct 
 	mmc->ops = &mmc_omap_ops;
 	mmc->f_min = 400000;
 	mmc->f_max = 24000000;
-	mmc->ocr_avail = MMC_VDD_32_33 | MMC_VDD_33_34 | MMC_CAP_MULTIWRITE
-				| MMC_CAP_BYTEBLOCK;
+	mmc->ocr_avail = MMC_VDD_32_33 | MMC_VDD_33_34;
+	mmc->caps = MMC_CAP_MULTIWRITE | MMC_CAP_BYTEBLOCK;
 
 	if (minfo->wire4)
 		 mmc->caps |= MMC_CAP_4_BIT_DATA;

[-- Attachment #3: Type: text/plain, Size: 0 bytes --]



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

* Re: Add MMC_CAP_{MULTIWRITE,BYTEBLOCK} flags in omap.c
  2006-11-06 19:22 Add MMC_CAP_{MULTIWRITE,BYTEBLOCK} flags in omap.c Carlos Aguiar
@ 2006-11-10  0:36 ` Tony Lindgren
  0 siblings, 0 replies; 2+ messages in thread
From: Tony Lindgren @ 2006-11-10  0:36 UTC (permalink / raw)
  To: Carlos Aguiar; +Cc: linux-omap-open-source

* Carlos Aguiar <carlos.aguiar@indt.org.br> [061106 21:23]:
> Hi Tony and folks,
> 
> Following previous comments from Juha and Pierre, this patch add
> MMC_CAP_{MULTIWRITE,BYTEBLOCK} flags in omap.c
> 
> BR,
> 
> Carlos.
> 
> -- 
> Carlos Eduardo
> Nokia Institute of Technology - INdT
> Embedded Linux Laboratory - 10LE
> Phone: +55 92 2126-1079
> Mobile: +55 92 8127-1797
> E-mail: carlos.aguiar@indt.org.br
> 

> Add MMC_CAP_{MULTIWRITE,BYTEBLOCK} flags
> 
> Signed-off-by: Carlos Eduardo Aguiar <carlos.aguiar <at> indt.org.br>
> 
> Index: linux-omap-git/drivers/mmc/omap.c
> ===================================================================
> --- linux-omap-git.orig/drivers/mmc/omap.c	2006-11-06 13:20:29.000000000 -0400
> +++ linux-omap-git/drivers/mmc/omap.c	2006-11-06 13:50:28.000000000 -0400
> @@ -1088,8 +1088,8 @@ static int __init mmc_omap_probe(struct 
>  	mmc->ops = &mmc_omap_ops;
>  	mmc->f_min = 400000;
>  	mmc->f_max = 24000000;
> -	mmc->ocr_avail = MMC_VDD_32_33 | MMC_VDD_33_34 | MMC_CAP_MULTIWRITE
> -				| MMC_CAP_BYTEBLOCK;
> +	mmc->ocr_avail = MMC_VDD_32_33 | MMC_VDD_33_34;
> +	mmc->caps = MMC_CAP_MULTIWRITE | MMC_CAP_BYTEBLOCK;
>  
>  	if (minfo->wire4)
>  		 mmc->caps |= MMC_CAP_4_BIT_DATA;


Pushing today.

Tony

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

end of thread, other threads:[~2006-11-10  0:36 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-11-06 19:22 Add MMC_CAP_{MULTIWRITE,BYTEBLOCK} flags in omap.c Carlos Aguiar
2006-11-10  0:36 ` Tony Lindgren

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox