* [patch 4/6] [RFC] Add MMC Password Protection (lock/unlock) support V6
@ 2006-11-17 13:11 Anderson Briglia
2006-11-17 16:10 ` Russell King
0 siblings, 1 reply; 2+ messages in thread
From: Anderson Briglia @ 2006-11-17 13:11 UTC (permalink / raw)
To: Linux-omap-open-source@linux.omap.com
Cc: linux-kernel, Pierre Ossman, ext David Brownell, Russell King,
Tony Lindgren, Aguiar Carlos (EXT-INdT/Manaus),
Biris Ilias (EXT-INdT/Manaus)
[-- Attachment #1: Type: text/plain, Size: 946 bytes --]
OMAP platform specific patch.
- Add the host MMC lock/unlock capability support.
Signed-off-by: Carlos Eduardo Aguiar <carlos.aguiar <at> indt.org.br>
Signed-off-by: Anderson Lizardo <anderson.lizardo <at> indt.org.br>
Signed-off-by: Anderson Briglia <anderson.briglia <at> indt.org.br>
Index: linux-omap-2.6.git/drivers/mmc/omap.c
===================================================================
--- linux-omap-2.6.git.orig/drivers/mmc/omap.c 2006-11-16 15:35:19.000000000 -0400
+++ linux-omap-2.6.git/drivers/mmc/omap.c 2006-11-17 09:05:47.000000000 -0400
@@ -1094,6 +1094,9 @@ static int __init mmc_omap_probe(struct
if (minfo->wire4)
mmc->caps |= MMC_CAP_4_BIT_DATA;
+ /* Sets the lock/unlock capability */
+ host->mmc->caps |= MMC_CAP_LOCK_UNLOCK;
+
/* Use scatterlist DMA to reduce per-transfer costs.
* NOTE max_seg_size assumption that small blocks aren't
* normally used (except e.g. for reading SD registers).
[-- Attachment #2: mmc_omap_cap.diff --]
[-- Type: text/x-patch, Size: 942 bytes --]
OMAP platform specific patch.
- Add the host MMC lock/unlock capability support.
Signed-off-by: Carlos Eduardo Aguiar <carlos.aguiar <at> indt.org.br>
Signed-off-by: Anderson Lizardo <anderson.lizardo <at> indt.org.br>
Signed-off-by: Anderson Briglia <anderson.briglia <at> indt.org.br>
Index: linux-omap-2.6.git/drivers/mmc/omap.c
===================================================================
--- linux-omap-2.6.git.orig/drivers/mmc/omap.c 2006-11-16 15:35:19.000000000 -0400
+++ linux-omap-2.6.git/drivers/mmc/omap.c 2006-11-17 09:05:47.000000000 -0400
@@ -1094,6 +1094,9 @@ static int __init mmc_omap_probe(struct
if (minfo->wire4)
mmc->caps |= MMC_CAP_4_BIT_DATA;
+ /* Sets the lock/unlock capability */
+ host->mmc->caps |= MMC_CAP_LOCK_UNLOCK;
+
/* Use scatterlist DMA to reduce per-transfer costs.
* NOTE max_seg_size assumption that small blocks aren't
* normally used (except e.g. for reading SD registers).
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [patch 4/6] [RFC] Add MMC Password Protection (lock/unlock) support V6
2006-11-17 13:11 [patch 4/6] [RFC] Add MMC Password Protection (lock/unlock) support V6 Anderson Briglia
@ 2006-11-17 16:10 ` Russell King
0 siblings, 0 replies; 2+ messages in thread
From: Russell King @ 2006-11-17 16:10 UTC (permalink / raw)
To: Anderson Briglia
Cc: Linux-omap-open-source@linux.omap.com, linux-kernel,
Pierre Ossman, ext David Brownell, Tony Lindgren,
Aguiar Carlos (EXT-INdT/Manaus), Biris Ilias (EXT-INdT/Manaus)
On Fri, Nov 17, 2006 at 09:11:40AM -0400, Anderson Briglia wrote:
> OMAP platform specific patch.
> - Add the host MMC lock/unlock capability support.
>
> Signed-off-by: Carlos Eduardo Aguiar <carlos.aguiar <at> indt.org.br>
> Signed-off-by: Anderson Lizardo <anderson.lizardo <at> indt.org.br>
> Signed-off-by: Anderson Briglia <anderson.briglia <at> indt.org.br>
>
> Index: linux-omap-2.6.git/drivers/mmc/omap.c
> ===================================================================
> --- linux-omap-2.6.git.orig/drivers/mmc/omap.c 2006-11-16
> 15:35:19.000000000 -0400
> +++ linux-omap-2.6.git/drivers/mmc/omap.c 2006-11-17
> 09:05:47.000000000 -0400
> @@ -1094,6 +1094,9 @@ static int __init mmc_omap_probe(struct
> if (minfo->wire4)
> mmc->caps |= MMC_CAP_4_BIT_DATA;
>
> + /* Sets the lock/unlock capability */
> + host->mmc->caps |= MMC_CAP_LOCK_UNLOCK;
> +
See additional comments to your first patch.
--
Russell King
Linux kernel 2.6 ARM Linux - http://www.arm.linux.org.uk/
maintainer of: 2.6 Serial core
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2006-11-17 16:10 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-11-17 13:11 [patch 4/6] [RFC] Add MMC Password Protection (lock/unlock) support V6 Anderson Briglia
2006-11-17 16:10 ` Russell King
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).