From mboxrd@z Thu Jan 1 00:00:00 1970 From: Pierre Ossman Subject: Re: [patch 1/5] [RFC] Add MMC Password Protection (lock/unlock) support V7: mmc_ignore_locked.diff Date: Sat, 25 Nov 2006 09:39:04 +0100 Message-ID: <45680128.5000506@drzeus.cx> References: <45646330.9010402@indt.org.br> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <45646330.9010402@indt.org.br> Sender: linux-kernel-owner@vger.kernel.org To: Anderson Briglia Cc: "Linux-omap-open-source@linux.omap.com" , Russell King , Tony Lindgren , "Aguiar Carlos (EXT-INdT/Manaus)" , ext David Brownell , "Lizardo Anderson (EXT-INdT/Manaus)" , linux-kernel@vger.kernel.org List-Id: linux-omap@vger.kernel.org Anderson Briglia wrote: > When a card is locked, only commands from the "basic" and "lock card" > classes > are accepted. To be able to use the other commands, the card must be > unlocked > first. > > This patch prevents the device drivers from trying to run privileged > class > commands on locked MMC cards, which will fail anyway. > You still need to change the commit message, but otherwise the patch looks ok. Rgds -- -- Pierre Ossman Linux kernel, MMC maintainer http://www.kernel.org PulseAudio, core developer http://pulseaudio.org rdesktop, core developer http://www.rdesktop.org