From patchwork Fri Jul 3 00:16:12 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Simon Glass X-Patchwork-Id: 490865 X-Patchwork-Delegate: sjg@chromium.org Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from theia.denx.de (theia.denx.de [85.214.87.163]) by ozlabs.org (Postfix) with ESMTP id B48681402A9 for ; Fri, 3 Jul 2015 10:22:34 +1000 (AEST) Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=google.com header.i=@google.com header.b=FXgsvYqV; dkim-atps=neutral Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 4F5074B801; Fri, 3 Jul 2015 02:21:30 +0200 (CEST) Received: from theia.denx.de ([127.0.0.1]) by localhost (theia.denx.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id LoENYmL0ZU72; Fri, 3 Jul 2015 02:21:30 +0200 (CEST) Received: from theia.denx.de (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 383F04B804; Fri, 3 Jul 2015 02:20:15 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 7F5C84B693 for ; Fri, 3 Jul 2015 02:17:13 +0200 (CEST) Received: from theia.denx.de ([127.0.0.1]) by localhost (theia.denx.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id cLYOB_JlIvnY for ; Fri, 3 Jul 2015 02:17:13 +0200 (CEST) X-policyd-weight: NOT_IN_SBL_XBL_SPAMHAUS=-1.5 NOT_IN_SPAMCOP=-1.5 NOT_IN_BL_NJABL=-1.5 (only DNSBL check requested) Received: from mail-ig0-f175.google.com (mail-ig0-f175.google.com [209.85.213.175]) by theia.denx.de (Postfix) with ESMTPS id 121854B692 for ; Fri, 3 Jul 2015 02:17:09 +0200 (CEST) Received: by igblr2 with SMTP id lr2so67777591igb.0 for ; Thu, 02 Jul 2015 17:17:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=sender:from:to:cc:subject:date:message-id:in-reply-to:references; bh=v4oBU+GIylmyHf2sYw8KwsxQZkwt0zZOg8rpF8NnuKo=; b=FXgsvYqVQyRTpfNxX6NAKtlgU89Bx9M4L1rjsZiGa+l7vPHaHPvIVZDqJlkf5rGA8m sc/YkJj1D+tWGKwi/ZJRYZLk0l3kaSf5HcbjRcrqaa5N78XM9HKDhWPLw1tJjRoETpwl uY/UlK5lqi2lvpRlKL2NbcRwXJtjSXDVBuFavJMkdR//M3jBaSjvHs1koP0l0xxaF+QF 0NB3+OajJ5mu4EQpjrowwfAVWVhZsGYI1sasIuWjTf+ifGV+76Tx2co8UzIW7GiJCs6W zI4m8Bjt8zYf5xbL7fcLg/937F7uT0nYLx4i4tVsx1QT4PkT4kFhZOWEpQSHNTYoNmEw kBhw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:sender:from:to:cc:subject:date:message-id :in-reply-to:references; bh=v4oBU+GIylmyHf2sYw8KwsxQZkwt0zZOg8rpF8NnuKo=; b=Bcmosf207rsieK+QaFwYh5LWx2ijOvRlKSY0SlXIZcD8Qt3w8akl6HhBLGgW0DLmMv LALBI9qKt9I7ioT5EIpI4PzsRXfwgJ2bDLnlvvhslw7wbjjb9bQhvpggOzbGJZVh6x4S jgvrxq4yGQ5lOCbPtwg6YmczqdckZU1XVO/ABXWypWrcJOB8/FcMK+UpgNUhsTi4fBNO qNAna5nz7TK7gzhMt5kZ3ImtWDOAk85e+eTcaOPr8vxCjj0kqVKaI7+K2rzZ4Wxy9u7F fleu4jIom++JsiQ8kanGLKhkHC7ebvinLhyGW5xKCuIkyge5fIo4PiaPQ/gBIA/j/WyF R3Og== X-Gm-Message-State: ALoCoQk0kIKW3zSXk2EgOigruXguVuvmVY/q95nlnGeD6CS9x+CXrHr03QN0s0uJO62Q2aRMRA8s X-Received: by 10.43.145.66 with SMTP id jt2mr9291236icc.93.1435882628404; Thu, 02 Jul 2015 17:17:08 -0700 (PDT) Received: from kaki.bld.corp.google.com ([172.29.216.32]) by mx.google.com with ESMTPSA id d96sm5050194ioj.37.2015.07.02.17.17.00 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 02 Jul 2015 17:17:04 -0700 (PDT) Received: by kaki.bld.corp.google.com (Postfix, from userid 121222) id 423B1221250; Thu, 2 Jul 2015 18:16:55 -0600 (MDT) From: Simon Glass To: U-Boot Mailing List Date: Thu, 2 Jul 2015 18:16:12 -0600 Message-Id: <1435882592-487-36-git-send-email-sjg@chromium.org> X-Mailer: git-send-email 2.4.3.573.g4eafbef In-Reply-To: <1435882592-487-1-git-send-email-sjg@chromium.org> References: <1435882592-487-1-git-send-email-sjg@chromium.org> Cc: Tom Rini , Pantelis Antoniou Subject: [U-Boot] [PATCH 35/55] exynos: Correct return value in exynos_mmc_init() X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.15 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" This function should return 0 on success, not 1. Fix it. Signed-off-by: Simon Glass --- drivers/mmc/s5p_sdhci.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/mmc/s5p_sdhci.c b/drivers/mmc/s5p_sdhci.c index 8e1968a..522eab9 100644 --- a/drivers/mmc/s5p_sdhci.c +++ b/drivers/mmc/s5p_sdhci.c @@ -202,6 +202,6 @@ int exynos_mmc_init(const void *blob) process_nodes(blob, node_list, count); - return 1; + return 0; } #endif