From patchwork Sun Oct 31 21:51:39 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Arnd Hannemann X-Patchwork-Id: 293762 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by demeter1.kernel.org (8.14.4/8.14.3) with ESMTP id o9VLpjO7009190 for ; Sun, 31 Oct 2010 21:51:47 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752883Ab0JaVvm (ORCPT ); Sun, 31 Oct 2010 17:51:42 -0400 Received: from slowhand.arndnet.de ([88.198.19.76]:59162 "EHLO mail.unitix.de" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1752823Ab0JaVvl (ORCPT ); Sun, 31 Oct 2010 17:51:41 -0400 Received: from [192.168.1.62] (80-230.eduroam.RWTH-Aachen.DE [134.61.80.230]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.unitix.de (Postfix) with ESMTP id 2323613E8D; Sun, 31 Oct 2010 22:51:41 +0100 (CET) Message-ID: <4CCDE4EB.7060001@arndnet.de> Date: Sun, 31 Oct 2010 22:51:39 +0100 From: Arnd Hannemann User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.15) Gecko/20101027 Lightning/1.0b1 Thunderbird/3.0.10 MIME-Version: 1.0 To: Ohad Ben-Cohen CC: "linux-mmc@vger.kernel.org" , "linux-wireless@vger.kernel.org" , linux-kernel@vger.kernel.org Subject: Re: regression: b43-sdio: probe of mmc0:0001:1 failed with error -16 References: <4CCDA454.708@arndnet.de> In-Reply-To: X-Enigmail-Version: 1.0.1 Sender: linux-mmc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-mmc@vger.kernel.org X-Greylist: IP, sender and recipient auto-whitelisted, not delayed by milter-greylist-4.2.3 (demeter1.kernel.org [140.211.167.41]); Sun, 31 Oct 2010 21:51:48 +0000 (UTC) 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. */