aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/mmc/wbsd.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/mmc/wbsd.c')
-rw-r--r--drivers/mmc/wbsd.c11
1 files changed, 6 insertions, 5 deletions
diff --git a/drivers/mmc/wbsd.c b/drivers/mmc/wbsd.c
index ea0c4b3361bf..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;