Received: by 2002:a25:31c3:0:0:0:0:0 with SMTP id x186csp4985710ybx; Sun, 10 Nov 2019 04:48:21 -0800 (PST) X-Google-Smtp-Source: APXvYqy0VZp0gmshS6zocAAC8QnhQGfNkUCxY8c6fm6bZ4ox1uHcsNMMHeXAJnI5Jp1gnqsjlFWF X-Received: by 2002:a05:6402:1299:: with SMTP id w25mr20847543edv.10.1573390101732; Sun, 10 Nov 2019 04:48:21 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1573390101; cv=none; d=google.com; s=arc-20160816; b=SWq6IzMcVVcRTH/7HC8LToGRCyvFQWdEz4PnUqdZJKXWXfXzPo0R5nS8RO3kZ1288w 88uB33B7O7ZeAiMgWtaprCNs2QzkXXarVVkIdScQbB8N1JD5jToi/jPu8NfCvRd2ukAx MM0DtkWCCyW9vuC278ZPy62Hl57YSxsh4ULe3TzUrT8Uj0+H4xbPz1GR7tv6xDkhp2Yn 3azhWpeOI/2oaH+6EHpiDKcbYghl+h4WKwFprZ3sBrgfA76PckZeHLeFQy6tvCs1v13g wJWxyTb4Sqcl51ya/MwEVpzGq8qvId8YlkAtwr1mJNy0VyKVHHeo1YysK0Ock9mY6HsV 22YA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=y83C4uV1+CMS9qXxIDGEDkXZDlFcKiUT+tBB2iKcZ/8=; b=oOzTPquOxiCUeFlra0NeYVV9ijn7aGnpGPVeRy6m+qHOXc0jjpebLqP6OUgXpkMPQy Xh1qrbzES+X/A7UwGbUGfCKESzN6xsv+Cqa1WC9XonEHQIuV7dqFDNpO8vvosOjIwvr+ /dqIpbTfQZzwgynpYNTeWX3YaOQ/prw98A8PZNRu1mSiV48m+wDoyqil5Wzc5Sjg+FHf R9Ct0cL1S/p3Ok0FKHhZNOiygCETNnLrpG3qJWXubW44z+9eTV0EyCak3ag0n2l02ata UmfqAI6zEAS3VjAdcA2FkK7XThqFnr1wwzMoPnfCNeuVSVtWiHHzaQ9ux4Q+J2yFyKEk ID8g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b="S5tCu1Q/"; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id s40si8623698edd.233.2019.11.10.04.47.58; Sun, 10 Nov 2019 04:48:21 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b="S5tCu1Q/"; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726773AbfKJMoE (ORCPT + 99 others); Sun, 10 Nov 2019 07:44:04 -0500 Received: from mail-lj1-f196.google.com ([209.85.208.196]:45594 "EHLO mail-lj1-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726301AbfKJMoE (ORCPT ); Sun, 10 Nov 2019 07:44:04 -0500 Received: by mail-lj1-f196.google.com with SMTP id n21so10831819ljg.12; Sun, 10 Nov 2019 04:44:02 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=y83C4uV1+CMS9qXxIDGEDkXZDlFcKiUT+tBB2iKcZ/8=; b=S5tCu1Q/bUWUzoqui0dPCRpuzi6ZO6mnhyySQUfJ8Wq0Sw21KjmuAhUeqMLtXFQIgp /CuDTn6oX6LgJcIkQQW5NO0JEqDaHfh8mS2lOf/KCLK8EERkNsE44C3on2wsOQ6pOjYl H1P/W6x5qGi+QAJOrQOiqlj/I9dcvNEwyBzIkvDXGk66zCb0DfYWInfROuSUe+q3W1+o 0Q6umV52sYXfDemaam8ueHnzdPNcWnEbzjGUDisxUgqNSmQ86L8i1l5CrRSN926q04c/ CAzAkuvfZm0OCMYchvxZJG7l7F2PDMbngOIXDx+prmkP2nYs6q7J7LhtafWXJgC2yANx RzPg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=y83C4uV1+CMS9qXxIDGEDkXZDlFcKiUT+tBB2iKcZ/8=; b=hxDvxlEfA9bIwJ640waOgPV46swpFjoWfDd9IE/5EDLWrnO0yFZt7Cug0+B1l0E4Hb MQgtDhZw3bD5NkjLEYaB/So8yw3mf81nd9971qWnR3LDAr43qJUmyg62xAqAlft2Rn7M kn+D+CQHocqIP3ZUr2yqchYUKQwlWhxxkHxbg5tpRTlnW9q4wQyVXyfQpsxseoEKMUvu ok0901P0rLV6bcO4x1568TEkyDKwUc5nVDUlIMb4eoNVGplhKU7Ya2c6MmEpKWNy7iLQ Posr/8gNEJGxanDivckszyA4ZMon72eVSvce+K9/zCQHRUCv++6IncKFKJ0vhbHnL3PE nyUA== X-Gm-Message-State: APjAAAWhdLdnf9lSlztgxxYlbSkEYJlLvbzIJ3orrWe0JGFzhSC7CiML THOOxPSvC35hxR/G42M7n6U= X-Received: by 2002:a2e:98d4:: with SMTP id s20mr13111304ljj.128.1573389841582; Sun, 10 Nov 2019 04:44:01 -0800 (PST) Received: from localhost.localdomain (h-98-128-228-153.NA.cust.bahnhof.se. [98.128.228.153]) by smtp.gmail.com with ESMTPSA id r7sm5377486ljc.74.2019.11.10.04.43.59 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 10 Nov 2019 04:44:00 -0800 (PST) From: Rikard Falkeborn To: megous@megous.com Cc: arnd@arndb.de, devicetree@vger.kernel.org, gregkh@linuxfoundation.org, icenowy@aosc.io, kishon@ti.com, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-sunxi@googlegroups.com, mark.rutland@arm.com, mripard@kernel.org, paul.kocialkowski@bootlin.com, robh+dt@kernel.org, tglx@linutronix.de, wens@csie.org, Rikard Falkeborn Subject: [PATCH v2] phy: allwinner: Fix GENMASK misuse Date: Sun, 10 Nov 2019 13:43:55 +0100 Message-Id: <20191110124355.1569-1-rikard.falkeborn@gmail.com> X-Mailer: git-send-email 2.24.0 In-Reply-To: <20191020134229.1216351-3-megous@megous.com> References: <20191020134229.1216351-3-megous@megous.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Arguments are supposed to be ordered high then low. Fixes: a228890f9458 ("phy: allwinner: add phy driver for USB3 PHY on Allwinner H6 SoC") Signed-off-by: Rikard Falkeborn Tested-by: Ondrej Jirman --- v1->v2: Add fixes tax. Add Ondrejs Tested-by. No functional change. drivers/phy/allwinner/phy-sun50i-usb3.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/phy/allwinner/phy-sun50i-usb3.c b/drivers/phy/allwinner/phy-sun50i-usb3.c index 1169f3e83a6f..b1c04f71a31d 100644 --- a/drivers/phy/allwinner/phy-sun50i-usb3.c +++ b/drivers/phy/allwinner/phy-sun50i-usb3.c @@ -49,7 +49,7 @@ #define SUNXI_LOS_BIAS(n) ((n) << 3) #define SUNXI_LOS_BIAS_MASK GENMASK(5, 3) #define SUNXI_TXVBOOSTLVL(n) ((n) << 0) -#define SUNXI_TXVBOOSTLVL_MASK GENMASK(0, 2) +#define SUNXI_TXVBOOSTLVL_MASK GENMASK(2, 0) struct sun50i_usb3_phy { struct phy *phy; -- 2.24.0