Re: [PATCH 2.6.19] mmc: Add support for SDHC cards (Take 2)

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Philip Langdale <philipl@...>, Pierre Ossman <drzeus-list@...>
Cc: Andrew Morton <akpm@...>, <linux-kernel@...>
Date: Thursday, January 4, 2007 - 8:50 am

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 
-
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[PATCH 1/5] remove CONFIG_KMOD from drivers, Rusty Russell, (Wed Dec 31, 8:00 pm)
[PATCH 2.6.19] mmc: Add support for SDHC cards (Take 2), Philip Langdale, (Mon Jan 1, 11:29 am)
Re: [PATCH 2.6.19] mmc: Add support for SDHC cards (Take 2), Alex Dubov, (Thu Jan 4, 8:50 am)