From patchwork Fri Jul 3 00:15:44 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Simon Glass X-Patchwork-Id: 490859 X-Patchwork-Delegate: promsoft@gmail.com 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 154B61402A9 for ; Fri, 3 Jul 2015 10:21:41 +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=C2nLDDRd; dkim-atps=neutral Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id D79404B6DE; Fri, 3 Jul 2015 02:21:02 +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 eYk6DwmGFYE2; Fri, 3 Jul 2015 02:21:02 +0200 (CEST) Received: from theia.denx.de (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id B59134B76F; Fri, 3 Jul 2015 02:19:57 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 715964B692 for ; Fri, 3 Jul 2015 02:17:04 +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 W6MxKYL2uhID for ; Fri, 3 Jul 2015 02:17:04 +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-f173.google.com (mail-ig0-f173.google.com [209.85.213.173]) by theia.denx.de (Postfix) with ESMTPS id 8A3004B69C for ; Fri, 3 Jul 2015 02:16:57 +0200 (CEST) Received: by igcur8 with SMTP id ur8so132334355igc.0 for ; Thu, 02 Jul 2015 17:16:56 -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=yJRW2kMvifCQAueVi7VqBc9y0iGi7WCUWyp1PmaZJxA=; b=C2nLDDRdMo0fGfTQ5ViIPFdKuN7aDdiW6hfD1qxmr/GjFzFfvFOnIqhRx1QpEpjkT7 WMlpbc8cRtkrWOMQ20ZzYWf5VCN17i02K71BcdBgRhSz0u1xi/Eufym4mFX1yCHuBbb7 mKrPUH9zRwslTnsMC+Ok+tchomFFULWe4oTtum9MTE+LlFM4szVwrLCzxt2BKfVJS2Ps XxumaszwyWfxvtt+PCifCFLww36HUuqz8CcrzKQHqdK8YCTzZ7yedFCiTL0bwHHR6ZC8 7bzflgek2/e4QpGNx/ZCEmBfGDJWfWIpfaLQTrJN53YQhFoSHrSzYF2qjZvXxMdE6lVb YFdQ== 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=yJRW2kMvifCQAueVi7VqBc9y0iGi7WCUWyp1PmaZJxA=; b=aHlZ0wTqjn+0Ok8JoWVaN3syAM8cXBz+/xdxwBnx+qKuZwpfmgHB6t8hZo3gpbe1Ra BTFYKoZJw7uUrPatVxPP26OrhTV7ohgnP1GXu7g9WuEfhrUQlce+qAmaaIYqRBSIt1V6 pANBSJ8wX/kRt4xWrzSKA/4H9KL128BY64iZ+AUdXs9j98Xe0ZwXo2mzzyelbb2kRHz7 jbXaasw2nFweybakmFKJUHDJ+D3ZSex6vetEt6me5ibRAhSUZuiU89aV7U3xp7DZsPKI v48XxDbkdXiMVnFcVjt1fsWQ+abZXEOBKcsG6RbIe5cN0UsrjCU+J9vFz4Y5go9xAkDd oOGQ== X-Gm-Message-State: ALoCoQn/kx8M9H7+NEk/chafVgCzmcEMvComw8Vy08pOXeXRIsrM48vXZTLHBlnAeO2KsCcLjHt/ X-Received: by 10.43.178.195 with SMTP id ox3mr16417473icc.10.1435882616469; Thu, 02 Jul 2015 17:16:56 -0700 (PDT) Received: from kaki.bld.corp.google.com ([172.29.216.32]) by mx.google.com with ESMTPSA id c12sm5050877ioj.39.2015.07.02.17.16.54 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 02 Jul 2015 17:16:55 -0700 (PDT) Received: by kaki.bld.corp.google.com (Postfix, from userid 121222) id 7F5A8220E56; Thu, 2 Jul 2015 18:16:52 -0600 (MDT) From: Simon Glass To: U-Boot Mailing List Date: Thu, 2 Jul 2015 18:15:44 -0600 Message-Id: <1435882592-487-8-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 Subject: [U-Boot] [PATCH 07/55] exynos: i2c: Correct bug in pinmux selection 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" When driver model is not used the current code does not correctly select the pinmux for the I2C bus. This bug was introduced by this commit: 8dfcbaa dm: i2c: s3c24x0: adjust to dm-i2c api Signed-off-by: Simon Glass Acked-by: Heiko Schocher Reviewed-by: Przemyslaw Marczak --- drivers/i2c/s3c24x0_i2c.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/i2c/s3c24x0_i2c.c b/drivers/i2c/s3c24x0_i2c.c index c053e84..9a04e48 100644 --- a/drivers/i2c/s3c24x0_i2c.c +++ b/drivers/i2c/s3c24x0_i2c.c @@ -1035,7 +1035,7 @@ static void process_nodes(const void *blob, int node_list[], int count, CONFIG_SYS_I2C_S3C24X0_SPEED); bus->node = node; bus->bus_num = i; - exynos_pinmux_config(PERIPH_ID_I2C0 + bus->id, flags); + exynos_pinmux_config(bus->id, flags); /* Mark position as used */ node_list[i] = -1;