Skip to contentSkip to conversation

rtsx patch for for-next branch in MFD tree

PATCH Superseded [email protected] 2 participants 4 messages Nov 20, 2012 MMC, SD and SDIO

v1 of 3 Superseded Latest is v3 →

lore
Share & tools
lore
#0 lore raw

cover rtsx patch for for-next branch in MFD tree

From: Wei WANG <[email protected]>

Wei WANG (2):
mmc: Configure SD_CFG2 register in sd_rw_multi
mmc: Explicitely include slab.h in rtsx_pci_sdmmc.c

 drivers/mmc/host/rtsx_pci_sdmmc.c |    2 ++
 1 file changed, 2 insertions(+)
Signature · 1 line
1.7.9.5
#1 lore raw

PATCH 1/2 mmc: Configure SD_CFG2 register in sd_rw_multi

From: Wei WANG <[email protected]>

---
 drivers/mmc/host/rtsx_pci_sdmmc.c |    1 +
 1 file changed, 1 insertion(+)
drivers/mmc/host/rtsx_pci_sdmmc.c +1 -0
index 0e934bf..067dd46 100644
@@ -405,6 +405,7 @@ static int sd_rw_multi(struct realtek_pci_sdmmc *host, struct mmc_request *mrq)
 	rtsx_pci_add_cmd(pcr, WRITE_REG_CMD, CARD_DATA_SOURCE,
 			0x01, RING_BUFFER);
 
+	rtsx_pci_add_cmd(pcr, WRITE_REG_CMD, SD_CFG2, 0xFF, cfg2);
 	rtsx_pci_add_cmd(pcr, WRITE_REG_CMD, SD_TRANSFER, 0xFF,
 			trans_mode | SD_TRANSFER_START);
 	rtsx_pci_add_cmd(pcr, CHECK_REG_CMD, SD_TRANSFER,
Signature · 1 line
1.7.9.5
#2 lore raw

Re: [PATCH 1/2] mmc: Configure SD_CFG2 register in sd_rw_multi

Hi,

Quoted 12 lines · On Mon, Nov 19 2012, [email protected] wrote:

From: Wei WANG <[email protected]>

---
 drivers/mmc/host/rtsx_pci_sdmmc.c |    1 +
 1 file changed, 1 insertion(+)
drivers/mmc/host/rtsx_pci_sdmmc.c +0 -0
index 0e934bf..067dd46 100644

drivers/mmc/host/rtsx_pci_sdmmc.c static int sd_rw_multi(struct realtek_pci_sdmmc *host, struct mmc_request *mrq) · line 411

Quoted 7 lines
drivers/mmc/host/rtsx_pci_sdmmc.c +1 -0
@@ -405,6 +405,7 @@ static int sd_rw_multi(struct realtek_pci_sdmmc *host, struct mmc_request *mrq)
 	rtsx_pci_add_cmd(pcr, WRITE_REG_CMD, CARD_DATA_SOURCE,
 			0x01, RING_BUFFER);
 
+	rtsx_pci_add_cmd(pcr, WRITE_REG_CMD, SD_CFG2, 0xFF, cfg2);
 	rtsx_pci_add_cmd(pcr, WRITE_REG_CMD, SD_TRANSFER, 0xFF,
 			trans_mode | SD_TRANSFER_START);
 	rtsx_pci_add_cmd(pcr, CHECK_REG_CMD, SD_TRANSFER,

Please write commit messages -- if this fixes a bug, what's the nature of the bug that it fixes? Thanks,

- Chris.

Signature · 2 lines
Chris Ball   <[email protected]>   <http://printf.net/>
One Laptop Per Child
#3 lore raw

PATCH 2/2 mmc: Explicitely include slab.h in rtsx_pci_sdmmc.c

In reply to [email protected]

From: Wei WANG <[email protected]>

---
 drivers/mmc/host/rtsx_pci_sdmmc.c |    1 +
 1 file changed, 1 insertion(+)
drivers/mmc/host/rtsx_pci_sdmmc.c +1 -0
index 067dd46..571915d 100644
@@ -21,6 +21,7 @@
  */
 
 #include <linux/module.h>
+#include <linux/slab.h>
 #include <linux/highmem.h>
 #include <linux/delay.h>
 #include <linux/platform_device.h>
Signature · 1 line
1.7.9.5