linux-mips
[Top] [All Lists]

[PATCH] MMC: au1xmmc R6 response support

To: drzeus-mmc@drzeus.cx
Subject: [PATCH] MMC: au1xmmc R6 response support
From: Manuel Lauss <mano@roarinelk.homelinux.net>
Date: Tue, 23 Jan 2007 11:08:14 +0100
Cc: linux-mips@linux-mips.org, linux-kernel@vger.kernel.org
Original-recipient: rfc822;linux-mips@linux-mips.org
Sender: linux-mips-bounce@linux-mips.org
User-agent: Mutt/1.5.11
Hi,

here's a trivial patch which adds R6 reponse support to the au1xmmc
driver. Fixes SD card detection / operation.

---

Add Response type R6 support to the au1xmmc driver; fixes SD card
detection and operation.

Signed-off-by: Manuel Lauss <mano@roarinelk.homelinux.net>

--- a/drivers/mmc/au1xmmc.c~    2007-01-23 10:52:33.771983000 +0100
+++ b/drivers/mmc/au1xmmc.c     2007-01-23 10:52:33.771983000 +0100
@@ -205,6 +205,9 @@ static int au1xmmc_send_command(struct a
        case MMC_RSP_R3:
                mmccmd |= SD_CMD_RT_3;
                break;
+       case MMC_RSP_R6:
+               mmccmd |= SD_CMD_RT_6;
+               break;
        }
 
        switch(cmd->opcode) {

<Prev in Thread] Current Thread [Next in Thread>