diff --git a/drivers/mmc/core/sd_ops.c b/drivers/mmc/core/sd_ops.c index 797cdb5..57b6dd4 100644 --- a/drivers/mmc/core/sd_ops.c +++ b/drivers/mmc/core/sd_ops.c @@ -237,8 +237,10 @@ int mmc_send_relative_addr(struct mmc_host *host, unsigned int *rca) cmd.flags = MMC_RSP_R6 | MMC_CMD_BCR; err = mmc_wait_for_cmd(host, &cmd, MMC_CMD_RETRIES); - if (err) + if (err) { + printk(KERN_INFO "%s(): %d\n", __func__, err); return err; + } *rca = cmd.resp[0] >> 16; diff --git a/drivers/mmc/core/sdio_bus.c b/drivers/mmc/core/sdio_bus.c index 2716c7a..102c163 100644 --- a/drivers/mmc/core/sdio_bus.c +++ b/drivers/mmc/core/sdio_bus.c @@ -133,8 +133,10 @@ static int sdio_bus_probe(struct device *dev) * pm_runtime_get_noresume() in its remove routine. */ ret = pm_runtime_get_sync(dev); - if (ret < 0) + if (ret < 0) { + printk(KERN_INFO "pm_runtime_get_sync: %d\n", ret); goto out; + } /* Set the default block size so the driver is sure it's something * sensible. */