From patchwork Sat Oct 27 09:17:48 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Viresh Kumar X-Patchwork-Id: 1654671 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-process-083081@patchwork1.kernel.org Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) by patchwork1.kernel.org (Postfix) with ESMTP id 53BA23FD4F for ; Sat, 27 Oct 2012 09:20:33 +0000 (UTC) Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.76 #1 (Red Hat Linux)) id 1TS2Xc-0007OA-S2; Sat, 27 Oct 2012 09:18:53 +0000 Received: from mail-da0-f49.google.com ([209.85.210.49]) by merlin.infradead.org with esmtps (Exim 4.76 #1 (Red Hat Linux)) id 1TS2X5-0007HN-BZ for linux-arm-kernel@lists.infradead.org; Sat, 27 Oct 2012 09:18:21 +0000 Received: by mail-da0-f49.google.com with SMTP id q27so1515860daj.36 for ; Sat, 27 Oct 2012 02:18:19 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=from:to:cc:subject:date:message-id:x-mailer:in-reply-to:references :in-reply-to:references:x-gm-message-state; bh=cigfmr7izhdrRhTEOo2PB1lY1+3Uyc3zxq2KcjTMIkk=; b=RlbKvOMRbI5evN6dVxGhg4lsf4AvreQ90L48Y8tZvUU+TpQAVQ2TVQp33ds7yio7/i 33AJkA2VU5bVfShL/L6eVKdAa4n1K0wASw9OLMOJbplUtPK6yDNOwfqshX5M8qgg2nUG vHL/fs71PqYrr9NssoKOjmKGm9HEFdEyeJ38Yuf0rCG9pxfUhx0MUYn04d2jR8Ygn7so MljO6QzlBCt1CR5hpDUbjamnxInz5TGYmTqVslEut17x1FGdG3j5yMyGFOJq7RUfP3fP M/XRKGNwRTUepwuWGGMxAZf4CDxgM6q4OOJuPdutrdK0heDmxjeRDfAM4eEHDieX5LhF ugwQ== Received: by 10.68.234.7 with SMTP id ua7mr78048716pbc.91.1351329499055; Sat, 27 Oct 2012 02:18:19 -0700 (PDT) Received: from localhost ([122.167.99.215]) by mx.google.com with ESMTPS id jw14sm2557721pbb.36.2012.10.27.02.18.16 (version=TLSv1/SSLv3 cipher=OTHER); Sat, 27 Oct 2012 02:18:18 -0700 (PDT) From: Viresh Kumar To: linus.walleij@linaro.org Subject: [PATCH 3/9] pinctrl: SPEAr320: Correct pad mux entries for rmii/smii Date: Sat, 27 Oct 2012 14:47:48 +0530 Message-Id: <1d2c374f463bda55c687d2bbee569ca2e23310dc.1351329224.git.viresh.kumar@linaro.org> X-Mailer: git-send-email 1.7.12.rc2.18.g61b472e In-Reply-To: References: In-Reply-To: References: X-Gm-Message-State: ALoCoQkdSRAYoOB5GyPepajvfPNrMY0XwNH280NRGlrK+lelSKx1fw/OVccLePZHpxMfIfriIfQE X-Spam-Note: CRM114 invocation failed X-Spam-Score: -2.6 (--) X-Spam-Report: SpamAssassin version 3.3.2 on merlin.infradead.org summary: Content analysis details: (-2.6 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.7 RCVD_IN_DNSWL_LOW RBL: Sender listed at http://www.dnswl.org/, low trust [209.85.210.49 listed in list.dnswl.org] -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] Cc: Viresh Kumar , spear-devel@list.st.com, linux-arm-kernel@lists.infradead.org, Deepak Sikri X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: linux-arm-kernel-bounces@lists.infradead.org Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org From: Deepak Sikri pin entries of rmii and smii are interchanged by mistake. Fix it. Signed-off-by: Deepak Sikri Signed-off-by: Viresh Kumar --- drivers/pinctrl/spear/pinctrl-spear320.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/pinctrl/spear/pinctrl-spear320.c b/drivers/pinctrl/spear/pinctrl-spear320.c index 4fccf95..ca47b0e 100644 --- a/drivers/pinctrl/spear/pinctrl-spear320.c +++ b/drivers/pinctrl/spear/pinctrl-spear320.c @@ -2960,9 +2960,9 @@ static struct spear_function mii2_function = { }; /* Pad multiplexing for cadence mii 1_2 as smii or rmii device */ -static const unsigned smii0_1_pins[] = { 10, 11, 13, 14, 15, 16, 17, 18, 19, 20, +static const unsigned rmii0_1_pins[] = { 10, 11, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27 }; -static const unsigned rmii0_1_pins[] = { 10, 11, 21, 22, 23, 24, 25, 26, 27 }; +static const unsigned smii0_1_pins[] = { 10, 11, 21, 22, 23, 24, 25, 26, 27 }; static struct spear_muxreg mii0_1_muxreg[] = { { .reg = PMX_CONFIG_REG,