Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp4528452ybl; Mon, 9 Dec 2019 12:20:17 -0800 (PST) X-Google-Smtp-Source: APXvYqxS5U4LSAbxWL40AZUTctct74prHSLx8XRYq01VEygfQlNFqT3d9imql8dGGF2yzqC9Lva9 X-Received: by 2002:a9d:4e97:: with SMTP id v23mr21904597otk.201.1575922817765; Mon, 09 Dec 2019 12:20:17 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1575922817; cv=none; d=google.com; s=arc-20160816; b=k/+/LrS44WvUXLmS3pcdo6Gl+HnuG7U00LNeQtZJNijag4O0Qjt7mOtxSbaIOiT96v fR2Ai/JPaUWIR1HpjUI8+bDmsP2v+Wpg089NMVBN1oO1bTnoIiJDXVcpilZINcvhj7F2 4RkcdzzM0X0GsU8eakHzfuGkxoHeagYaF9K917TqfmG5BcVumpvbdyRFgYDeji269AoT 44Wj7DAaXbTchdxm1sJUaIO2cWf/zm1Rhj12bhVW/+21VMYBbtk9IWTIC2hw2RWStpS6 RpOUTfklkcjVaQ+soPH8peGmniSYF9HUTklQExb+38DZ2a3equaCIhrO1jlpXO8cpw8a FSTQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:date:from :dkim-signature; bh=n1EdrnRTVcraROl5/h8aaMtwkvgNtthE6B0nadUQmNM=; b=sIAgjCuBIN16c+5+lnehJh+nJRLWmSYa/ObzBCrBq68l9J7F1aXFm1AoE48UXHcER0 DSx2UibvEzYwjoovK6j5h54fmbcfxFEOr6o5SCWGHl+cYw8jYb/LoLWJNCM4DykWeb+G yAPLyf6pPJVcyS/9YOU3oPsLy+ZAw1crHbwgpFe3Eplg0XvFPUGvurBqLWwrH9ziyWcA cEDoo1eOpt//TyCD6DsmhRXkjb0IDj7Jw5mSAlAjTzNWTdG0wfn/VMLw1teYPAD8LzOQ BcEHok3xzFODlmaOvDMfnaQ87ANjYDui97iiS8vYtcdzIJcPu4mcQErcns1KWdcTI+zR Fg6w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=YyWaTa3g; 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 g25si575871otp.20.2019.12.09.12.20.04; Mon, 09 Dec 2019 12:20:17 -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=YyWaTa3g; 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 S1726769AbfLIUTF (ORCPT + 99 others); Mon, 9 Dec 2019 15:19:05 -0500 Received: from mail-lj1-f193.google.com ([209.85.208.193]:39003 "EHLO mail-lj1-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726354AbfLIUTE (ORCPT ); Mon, 9 Dec 2019 15:19:04 -0500 Received: by mail-lj1-f193.google.com with SMTP id e10so17154048ljj.6; Mon, 09 Dec 2019 12:19:03 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:date:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to; bh=n1EdrnRTVcraROl5/h8aaMtwkvgNtthE6B0nadUQmNM=; b=YyWaTa3gnmdIYwVKVbmo7iBU4bN5OGGRfD/62puTS0gNvrMO2Gn52AUyhSnCwq8CMd wR03rB0TUPJbC5zMlN44+k7hjCwO+baR8t4mgLtW40gBXm/sehCBVm5s5M+xKBVhoGhr W/ev/YydmL+HcKZLZvpcF7/hBtf/4WOgcYSrxRDzXmzCDtgZVbXlj5Dnl38zVEgiPBMC S5Ar3nDEgmaur+OOaj3gG60Pb+KKkNB1wit28dY2jcQhMKrG3TL3IQkdm520wfV07mtg J4SGJavVx2XoiPZWucDtJiYVUC0192OwXrhD/noBjLMJGN5Fw2PeTQfe6oUeJoGpxhzF SS9Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:date:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=n1EdrnRTVcraROl5/h8aaMtwkvgNtthE6B0nadUQmNM=; b=CYVX9Rtlna9fLL7/k/no4qcrIwTK9BKv+iWZABLKD36PltZLT6HWT8Rjv7enQWiTYT fD12LODkf8agla1cuHCFLrYnsxZeVgD44TQyS4d+7KkmXJctbSTJYj4YGfSIZJ65fp7J iQkg4eP/9ylkUWlUefGGy94+3w4qoAt3CLiv1HBbuQ/hzB6OWW1sszVLmAYhnbl8uDgL iRy0HJiMIn5WOsMRtauahfQObtsulHshrf+5O3CtgK3k5GK7a/yMhAJvJjWBZDDPSz0p TSe0UhLG1ycbiNqLFl8/Qg3utX6ZDRyUBBQw7WiBJJhB6F3XsLueke4+eTCjeKHftOJo 6saA== X-Gm-Message-State: APjAAAUZ+Kz55wy0rtuK8HsmFqPNGewPabYB2puAhD0BMT1tmYOqqUhd jX1NsYzz4RUESHo67rag5a0= X-Received: by 2002:a2e:5751:: with SMTP id r17mr18245968ljd.254.1575922742313; Mon, 09 Dec 2019 12:19:02 -0800 (PST) Received: from rikard (h-158-174-187-196.NA.cust.bahnhof.se. [158.174.187.196]) by smtp.gmail.com with ESMTPSA id i19sm237269lfj.17.2019.12.09.12.19.00 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 09 Dec 2019 12:19:01 -0800 (PST) From: Rikard Falkeborn X-Google-Original-From: Rikard Falkeborn Date: Mon, 9 Dec 2019 21:18:58 +0100 To: Rikard Falkeborn , kishon@ti.com Cc: megous@megous.com, 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 Subject: Re: [PATCH v2] phy: allwinner: Fix GENMASK misuse Message-ID: <20191209201858.GA1223@rikard> References: <20191020134229.1216351-3-megous@megous.com> <20191110124355.1569-1-rikard.falkeborn@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20191110124355.1569-1-rikard.falkeborn@gmail.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sun, Nov 10, 2019 at 01:43:55PM +0100, Rikard Falkeborn wrote: > 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 > Ping.