Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933585AbWKQNK1 (ORCPT ); Fri, 17 Nov 2006 08:10:27 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S933586AbWKQNK1 (ORCPT ); Fri, 17 Nov 2006 08:10:27 -0500 Received: from mgw-ext13.nokia.com ([131.228.20.172]:47968 "EHLO mgw-ext13.nokia.com") by vger.kernel.org with ESMTP id S933585AbWKQNK0 (ORCPT ); Fri, 17 Nov 2006 08:10:26 -0500 Message-ID: <455DB50C.3020209@indt.org.br> Date: Fri, 17 Nov 2006 09:11:40 -0400 From: Anderson Briglia User-Agent: Icedove 1.5.0.7 (X11/20061013) MIME-Version: 1.0 To: "Linux-omap-open-source@linux.omap.com" CC: linux-kernel@vger.kernel.org, Pierre Ossman , ext David Brownell , Russell King , Tony Lindgren , "Aguiar Carlos (EXT-INdT/Manaus)" , "Biris Ilias (EXT-INdT/Manaus)" Subject: [patch 4/6] [RFC] Add MMC Password Protection (lock/unlock) support V6 Content-Type: multipart/mixed; boundary="------------060409040509020606070903" X-OriginalArrivalTime: 17 Nov 2006 13:07:52.0611 (UTC) FILETIME=[63C53F30:01C70A49] X-Nokia-AV: Clean Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 2537 Lines: 63 This is a multi-part message in MIME format. --------------060409040509020606070903 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit OMAP platform specific patch. - Add the host MMC lock/unlock capability support. Signed-off-by: Carlos Eduardo Aguiar indt.org.br> Signed-off-by: Anderson Lizardo indt.org.br> Signed-off-by: Anderson Briglia 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). --------------060409040509020606070903 Content-Type: text/x-patch; name="mmc_omap_cap.diff" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="mmc_omap_cap.diff" OMAP platform specific patch. - Add the host MMC lock/unlock capability support. Signed-off-by: Carlos Eduardo Aguiar indt.org.br> Signed-off-by: Anderson Lizardo indt.org.br> Signed-off-by: Anderson Briglia 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). --------------060409040509020606070903-- - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/