[patch 6/6] Add MMC password protection (lock/unlock) support V4
- From: Carlos Aguiar <carlos.aguiar@xxxxxxxxxxx>
- Date: Tue, 31 Jan 2006 16:16:42 -0400
Patch to add the host MMC lock/unlock capability support for OMAP platform.
Signed-off-by: Anderson Briglia <anderson.briglia@xxxxxxxxxxx>
Signed-off-by: Anderson Lizardo <anderson.lizardo@xxxxxxxxxxx>
Signed-off-by: Carlos Eduardo Aguiar <carlos.aguiar@xxxxxxxxxxx>
Index: linux-omap-2.6.git/drivers/mmc/omap.c
===================================================================
--- linux-omap-2.6.git.orig/drivers/mmc/omap.c 2006-01-31 15:22:33.000000000 -0400
+++ linux-omap-2.6.git/drivers/mmc/omap.c 2006-01-31 15:22:36.000000000 -0400
@@ -1235,6 +1235,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;
mmc->ops = &mmc_omap_ops;
mmc->f_min = 400000;
--
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
- References:
- [patch 0/6] Add MMC password protection (lock/unlock) support V4
- From: Carlos Aguiar
- [patch 0/6] Add MMC password protection (lock/unlock) support V4
- Prev by Date: vgacon scrolling problem [Was: Re: 2.6.16-rc1-mm4]
- Next by Date: [patch 0/6] Add MMC password protection (lock/unlock) support V4
- Previous by thread: [patch 0/6] Add MMC password protection (lock/unlock) support V4
- Next by thread: [patch 1/6] Add MMC password protection (lock/unlock) support V4
- Index(es):