public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* MMC: Accept EXT_CSD rev 1.3 assuming it is backwards compatible with 1.2
@ 2009-03-24 12:12 Adrian Hunter
  2009-03-24 20:10 ` Pierre Ossman
  0 siblings, 1 reply; 4+ messages in thread
From: Adrian Hunter @ 2009-03-24 12:12 UTC (permalink / raw)
  To: Pierre Ossman; +Cc: Lavinen Jarkko (Nokia-M/Helsinki), LKML

>From a939998e34cbc263317d51b21ab52c8d5863a913 Mon Sep 17 00:00:00 2001
From: Jarkko Lavinen <jarkko.lavinen@nokia.com>
Date: Thu, 27 Nov 2008 14:30:32 +0200
Subject: MMC: Accept EXT_CSD rev 1.3 assuming it is backwards compatible with 1.2

Signed-off-by: Jarkko Lavinen <jarkko.lavinen@nokia.com>
---
 drivers/mmc/core/mmc.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/drivers/mmc/core/mmc.c b/drivers/mmc/core/mmc.c
index fdd7c76..3f5b089 100644
--- a/drivers/mmc/core/mmc.c
+++ b/drivers/mmc/core/mmc.c
@@ -208,7 +208,7 @@ static int mmc_read_ext_csd(struct mmc_card *card)
 	}
 
 	ext_csd_struct = ext_csd[EXT_CSD_REV];
-	if (ext_csd_struct > 2) {
+	if (ext_csd_struct > 3) {
 		printk(KERN_ERR "%s: unrecognised EXT_CSD structure "
 			"version %d\n", mmc_hostname(card->host),
 			ext_csd_struct);
-- 
1.5.4.3

^ permalink raw reply related	[flat|nested] 4+ messages in thread

* Re: MMC: Accept EXT_CSD rev 1.3 assuming it is backwards compatible with 1.2
  2009-03-24 12:12 MMC: Accept EXT_CSD rev 1.3 assuming it is backwards compatible with 1.2 Adrian Hunter
@ 2009-03-24 20:10 ` Pierre Ossman
  2009-03-25  8:05   ` Adrian Hunter
  0 siblings, 1 reply; 4+ messages in thread
From: Pierre Ossman @ 2009-03-24 20:10 UTC (permalink / raw)
  To: Adrian Hunter; +Cc: Lavinen Jarkko (Nokia-M/Helsinki), LKML

On Tue, 24 Mar 2009 14:12:11 +0200
Adrian Hunter <adrian.hunter@nokia.com> wrote:

> From a939998e34cbc263317d51b21ab52c8d5863a913 Mon Sep 17 00:00:00 2001
> From: Jarkko Lavinen <jarkko.lavinen@nokia.com>
> Date: Thu, 27 Nov 2008 14:30:32 +0200
> Subject: MMC: Accept EXT_CSD rev 1.3 assuming it is backwards compatible with 1.2
> 
> Signed-off-by: Jarkko Lavinen <jarkko.lavinen@nokia.com>
> ---

I don't like the whole "assuming" part. Do the specs back this up?

Rgds
-- 
     -- Pierre Ossman

  Linux kernel, MMC maintainer        http://www.kernel.org
  rdesktop, core developer          http://www.rdesktop.org

  WARNING: This correspondence is being monitored by the
  Swedish government. Make sure your server uses encryption
  for SMTP traffic and consider using PGP for end-to-end
  encryption.

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: MMC: Accept EXT_CSD rev 1.3 assuming it is backwards compatible with 1.2
  2009-03-24 20:10 ` Pierre Ossman
@ 2009-03-25  8:05   ` Adrian Hunter
  2009-03-25 19:35     ` Pierre Ossman
  0 siblings, 1 reply; 4+ messages in thread
From: Adrian Hunter @ 2009-03-25  8:05 UTC (permalink / raw)
  To: Pierre Ossman; +Cc: Lavinen Jarkko (Nokia-D/Helsinki), LKML

Pierre Ossman wrote:
> On Tue, 24 Mar 2009 14:12:11 +0200
> Adrian Hunter <adrian.hunter@nokia.com> wrote:
> 
>> From a939998e34cbc263317d51b21ab52c8d5863a913 Mon Sep 17 00:00:00 2001
>> From: Jarkko Lavinen <jarkko.lavinen@nokia.com>
>> Date: Thu, 27 Nov 2008 14:30:32 +0200
>> Subject: MMC: Accept EXT_CSD rev 1.3 assuming it is backwards compatible with 1.2
>>
>> Signed-off-by: Jarkko Lavinen <jarkko.lavinen@nokia.com>
>> ---
> 
> I don't like the whole "assuming" part. Do the specs back this up?
> 
> Rgds

Yes.

Please swap "assuming" for "because".

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: MMC: Accept EXT_CSD rev 1.3 assuming it is backwards compatible with 1.2
  2009-03-25  8:05   ` Adrian Hunter
@ 2009-03-25 19:35     ` Pierre Ossman
  0 siblings, 0 replies; 4+ messages in thread
From: Pierre Ossman @ 2009-03-25 19:35 UTC (permalink / raw)
  To: Adrian Hunter; +Cc: Lavinen Jarkko (Nokia-D/Helsinki), LKML

On Wed, 25 Mar 2009 10:05:37 +0200
Adrian Hunter <adrian.hunter@nokia.com> wrote:

> Pierre Ossman wrote:
> > 
> > I don't like the whole "assuming" part. Do the specs back this up?
> > 
> > Rgds
> 
> Yes.
> 
> Please swap "assuming" for "because".

Ok then. Queued.

Thanks
-- 
     -- Pierre Ossman

  Linux kernel, MMC maintainer        http://www.kernel.org
  rdesktop, core developer          http://www.rdesktop.org

  WARNING: This correspondence is being monitored by the
  Swedish government. Make sure your server uses encryption
  for SMTP traffic and consider using PGP for end-to-end
  encryption.

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2009-03-25 19:36 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-03-24 12:12 MMC: Accept EXT_CSD rev 1.3 assuming it is backwards compatible with 1.2 Adrian Hunter
2009-03-24 20:10 ` Pierre Ossman
2009-03-25  8:05   ` Adrian Hunter
2009-03-25 19:35     ` Pierre Ossman

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox