From mboxrd@z Thu Jan 1 00:00:00 1970 From: Pierre Ossman Subject: Re: [patch 1/6] [RFC] Add MMC Password Protection (lock/unlock) support V5 Date: Sun, 29 Oct 2006 10:26:08 +0100 Message-ID: <454473B0.8040901@drzeus.cx> References: <20061020164914.012378000@localhost.localdomain> <20061020165131.681329000@localhost.localdomain> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <20061020165131.681329000@localhost.localdomain> Sender: linux-kernel-owner@vger.kernel.org To: Carlos Aguiar Cc: linux-kernel@vger.kernel.org, linux-omap-open-source@linux.omap.com, David Brownell , Tony Lindgren , Russell King , ilias.biris@indt.org.br List-Id: linux-omap@vger.kernel.org Carlos Aguiar 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 block driver from trying to run privileged class > commands on locked MMC cards, which will fail anyway. > Incorrect commit message. It stops driver probes (all of them). > 20 11:41:54.000000000 -0400 > @@ -85,6 +85,7 @@ struct mmc_host { > unsigned long caps; /* Host capabilities */ > > #define MMC_CAP_4_BIT_DATA (1 << 0) /* Can the host do 4 bit transfers */ > +#define MMC_CAP_LOCK_UNLOCK (1 << 1) /* Host password support capability */ > > /* host specific block data */ > unsigned int max_seg_size; /* see blk_queue_max_segment_size */ > > You need to rebase your patch set on a more recent kernel. This won't apply cleanly. Rgds -- -- Pierre Ossman Linux kernel, MMC maintainer http://www.kernel.org PulseAudio, core developer http://pulseaudio.org rdesktop, core developer http://www.rdesktop.org