From patchwork Tue Sep 1 19:24:14 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Vaibhav Hiremath X-Patchwork-Id: 7106611 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 432FEBEEC1 for ; Tue, 1 Sep 2015 19:29:47 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 7514F205C4 for ; Tue, 1 Sep 2015 19:29:46 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (using TLSv1.2 with cipher AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 8FDCA205BE for ; Tue, 1 Sep 2015 19:29:45 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1ZWrDI-0003Dc-S0; Tue, 01 Sep 2015 19:27:24 +0000 Received: from mail-pa0-f52.google.com ([209.85.220.52]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1ZWrDC-00036i-2F for linux-arm-kernel@lists.infradead.org; Tue, 01 Sep 2015 19:27:18 +0000 Received: by pacwi10 with SMTP id wi10so5126154pac.3 for ; Tue, 01 Sep 2015 12:27:00 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=8/1bR2a/ti5ICtcrNuH3dkbd+UJrZGJTyQAcOtf1GJ0=; b=VpWBLw3MUF+Fdb+KAcAmO1jC0IlZAMhfFbNJIK7lRopXqXvrll+kn8jplVA4/Zo/ls epCmrcb7cPcbrxPNRfiaPfC3bzlSW1ahKM7xkMMcOzFjfGPz/fZq3ekzZey+4fDvLkPd imqm5hw0JhXOpz2W2TZ8fsD2cGyTWiG5A4JUrYTF6W/EiKQDfkR+PyGTB5vuZWOaDwoM i3yKoIxdRz9pAq4PM/EC+/ViCgDvfmt0Sp9F5sJrslMtaQPUw/ZfN9mVx/z2o6FANuhX PMZ9/ZRZy1+Uvdt9jH1F1baUApzSVK9vzwOIfjY9m9xoi6TWqN/AobGqMCA7XMsf34TK t+6A== X-Gm-Message-State: ALoCoQkUKTYu3gA/0SbvZ5GbznF3GjgURFQoZZdNBXdPYzub7a1YQ0F/lb2jJYUGttW3zzDYDRcr X-Received: by 10.68.65.47 with SMTP id u15mr49465524pbs.127.1441135620725; Tue, 01 Sep 2015 12:27:00 -0700 (PDT) Received: from localhost.localdomain ([202.62.93.143]) by smtp.gmail.com with ESMTPSA id kh10sm7418927pad.7.2015.09.01.12.26.57 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 01 Sep 2015 12:26:59 -0700 (PDT) From: Vaibhav Hiremath To: linux-mmc@vger.kernel.org Subject: [PATCH 2/2] mmc: sdhci-pxav3: Print ret value on error from sdhci_add_host() fn Date: Wed, 2 Sep 2015 00:54:14 +0530 Message-Id: <1441135454-6902-3-git-send-email-vaibhav.hiremath@linaro.org> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1441135454-6902-1-git-send-email-vaibhav.hiremath@linaro.org> References: <1441135454-6902-1-git-send-email-vaibhav.hiremath@linaro.org> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20150901_122718_147233_0089D5D4 X-CRM114-Status: GOOD ( 12.64 ) X-Spam-Score: -2.6 (--) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: ulf.hansson@linaro.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Vaibhav Hiremath MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Spam-Status: No, score=-4.2 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_MED, T_RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Return value would give clear information about the actual root-cause of the failure. Signed-off-by: Vaibhav Hiremath --- drivers/mmc/host/sdhci-pxav3.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/mmc/host/sdhci-pxav3.c b/drivers/mmc/host/sdhci-pxav3.c index d02bc37..5d26fe0 100644 --- a/drivers/mmc/host/sdhci-pxav3.c +++ b/drivers/mmc/host/sdhci-pxav3.c @@ -455,7 +455,7 @@ static int sdhci_pxav3_probe(struct platform_device *pdev) ret = sdhci_add_host(host); if (ret) { - dev_err(&pdev->dev, "failed to add host\n"); + dev_err(&pdev->dev, "failed to add host ret - %d\n", ret); goto err_add_host; }