public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Alex Dubov <oakad@yahoo.com>
To: Philip Langdale <philipl@overt.org>,
	Pierre Ossman <drzeus-list@drzeus.cx>
Cc: Andrew Morton <akpm@osdl.org>, linux-kernel@vger.kernel.org
Subject: Re: [PATCH 2.6.19] mmc: Add support for SDHC cards (Take 2)
Date: Thu, 4 Jan 2007 04:50:14 -0800 (PST)	[thread overview]
Message-ID: <20070104125014.2640.qmail@web36709.mail.mud.yahoo.com> (raw)
In-Reply-To: <459C8FA4.7080709@overt.org>

I think the trivial fix will do (after all, there's nothing that should matter to the controller
in the R6 response; I don't know about R7). I don't have any SDHC cards so I can't test this.

--- tifm_sd.c.orig      2006-12-11 01:39:28.000000000 +1100
+++ tifm_sd.c   2007-01-04 23:40:48.441724000 +1100
@@ -179,6 +179,8 @@
        case MMC_RSP_R1B:
                rc |= TIFM_MMCSD_RSP_BUSY; // deliberate fall-through
        case MMC_RSP_R1:
+       case MMC_RSP_R6:
+       case MMC_RSP_R7:
                rc |= TIFM_MMCSD_RSP_R1;
                break;
        case MMC_RSP_R2:
@@ -187,9 +189,6 @@
        case MMC_RSP_R3:
                rc |= TIFM_MMCSD_RSP_R3;
                break;
-       case MMC_RSP_R6:
-               rc |= TIFM_MMCSD_RSP_R6;
-               break;
        default:
                BUG();
        }


__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

      parent reply	other threads:[~2007-01-04 13:10 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-01-01 15:29 [PATCH 2.6.19] mmc: Add support for SDHC cards (Take 2) Philip Langdale
2007-01-03 21:06 ` Pierre Ossman
2007-01-03 23:06 ` Andrew Morton
2007-01-04  5:24   ` Philip Langdale
2007-01-04  5:59     ` Pierre Ossman
2007-01-04  6:35       ` Philip Langdale
2007-01-04  7:32         ` Pierre Ossman
2007-01-04 12:50     ` Alex Dubov [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20070104125014.2640.qmail@web36709.mail.mud.yahoo.com \
    --to=oakad@yahoo.com \
    --cc=akpm@osdl.org \
    --cc=drzeus-list@drzeus.cx \
    --cc=linux-kernel@vger.kernel.org \
    --cc=philipl@overt.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox