diff options
| author | Linus Torvalds <torvalds@g5.osdl.org> | 2005-11-05 12:47:46 -0500 |
|---|---|---|
| committer | Linus Torvalds <torvalds@g5.osdl.org> | 2005-11-05 12:47:46 -0500 |
| commit | a2c78f7c1d393d89240ed5922d3aa8e439aec82e (patch) | |
| tree | 5ad11675351ebd51b33d86bd93e65ec29b71e75f | |
| parent | 6037d6bbdff65eb5a84fe35e140f4da4f7cc103a (diff) | |
| parent | d191634f7ab3a1c8e9da0c5e986c30b2612f0eb0 (diff) | |
Merge master.kernel.org:/home/rmk/linux-2.6-mmc
| -rw-r--r-- | drivers/mmc/mmc_block.c | 1 | ||||
| -rw-r--r-- | drivers/mmc/wbsd.c | 15 |
2 files changed, 8 insertions, 8 deletions
diff --git a/drivers/mmc/mmc_block.c b/drivers/mmc/mmc_block.c index 9b629856c735..d91fcf7c3178 100644 --- a/drivers/mmc/mmc_block.c +++ b/drivers/mmc/mmc_block.c | |||
| @@ -203,7 +203,6 @@ static int mmc_blk_issue_rq(struct mmc_queue *mq, struct request *req) | |||
| 203 | brq.data.flags |= MMC_DATA_READ; | 203 | brq.data.flags |= MMC_DATA_READ; |
| 204 | } else { | 204 | } else { |
| 205 | brq.cmd.opcode = MMC_WRITE_BLOCK; | 205 | brq.cmd.opcode = MMC_WRITE_BLOCK; |
| 206 | brq.cmd.flags = MMC_RSP_R1B; | ||
| 207 | brq.data.flags |= MMC_DATA_WRITE; | 206 | brq.data.flags |= MMC_DATA_WRITE; |
| 208 | brq.data.blocks = 1; | 207 | brq.data.blocks = 1; |
| 209 | } | 208 | } |
diff --git a/drivers/mmc/wbsd.c b/drivers/mmc/wbsd.c index 942668e93a74..4ff67e7363d9 100644 --- a/drivers/mmc/wbsd.c +++ b/drivers/mmc/wbsd.c | |||
| @@ -201,7 +201,7 @@ static void wbsd_reset(struct wbsd_host* host) | |||
| 201 | { | 201 | { |
| 202 | u8 setup; | 202 | u8 setup; |
| 203 | 203 | ||
| 204 | printk(KERN_ERR DRIVER_NAME ": Resetting chip\n"); | 204 | printk(KERN_ERR "%s: Resetting chip\n", mmc_hostname(host->mmc)); |
| 205 | 205 | ||
| 206 | /* | 206 | /* |
| 207 | * Soft reset of chip (SD/MMC part). | 207 | * Soft reset of chip (SD/MMC part). |
| @@ -880,8 +880,9 @@ static void wbsd_finish_data(struct wbsd_host* host, struct mmc_data* data) | |||
| 880 | */ | 880 | */ |
| 881 | if (count) | 881 | if (count) |
| 882 | { | 882 | { |
| 883 | printk(KERN_ERR DRIVER_NAME ": Incomplete DMA " | 883 | printk(KERN_ERR "%s: Incomplete DMA transfer. " |
| 884 | "transfer. %d bytes left.\n", count); | 884 | "%d bytes left.\n", |
| 885 | mmc_hostname(host->mmc), count); | ||
| 885 | 886 | ||
| 886 | data->error = MMC_ERR_FAILED; | 887 | data->error = MMC_ERR_FAILED; |
| 887 | } | 888 | } |
| @@ -1169,8 +1170,8 @@ static void wbsd_tasklet_card(unsigned long param) | |||
| 1169 | 1170 | ||
| 1170 | if (host->mrq) | 1171 | if (host->mrq) |
| 1171 | { | 1172 | { |
| 1172 | printk(KERN_ERR DRIVER_NAME | 1173 | printk(KERN_ERR "%s: Card removed during transfer!\n", |
| 1173 | ": Card removed during transfer!\n"); | 1174 | mmc_hostname(host->mmc)); |
| 1174 | wbsd_reset(host); | 1175 | wbsd_reset(host); |
| 1175 | 1176 | ||
| 1176 | host->mrq->cmd->error = MMC_ERR_FAILED; | 1177 | host->mrq->cmd->error = MMC_ERR_FAILED; |
| @@ -1852,9 +1853,9 @@ static int __devinit wbsd_init(struct device* dev, int base, int irq, int dma, | |||
| 1852 | /* | 1853 | /* |
| 1853 | * See if chip needs to be configured. | 1854 | * See if chip needs to be configured. |
| 1854 | */ | 1855 | */ |
| 1855 | if (pnp && (host->config != 0)) | 1856 | if (pnp) |
| 1856 | { | 1857 | { |
| 1857 | if (!wbsd_chip_validate(host)) | 1858 | if ((host->config != 0) && !wbsd_chip_validate(host)) |
| 1858 | { | 1859 | { |
| 1859 | printk(KERN_WARNING DRIVER_NAME | 1860 | printk(KERN_WARNING DRIVER_NAME |
| 1860 | ": PnP active but chip not configured! " | 1861 | ": PnP active but chip not configured! " |
