Received: by 2002:a25:7ec1:0:0:0:0:0 with SMTP id z184csp2151633ybc; Sun, 24 Nov 2019 14:11:46 -0800 (PST) X-Google-Smtp-Source: APXvYqx62+wR5jBkPWtXX1PTr5FvdKiBvJC4LiTGGOG0pksgla/EXKQ6MsG/FKxx0W4DDEkBaegR X-Received: by 2002:a17:906:5786:: with SMTP id k6mr33768999ejq.294.1574633506079; Sun, 24 Nov 2019 14:11:46 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1574633506; cv=none; d=google.com; s=arc-20160816; b=Nj/DNSVJ09aFPtN65ClGePb/Tty+2LSfE/Er5JiRICqmoezAy9xk6XsyfFu4lYjnE5 LMo2R1Af4QT8PQUJlAgNRv7nhC2YTHkB1TXLC2wEs/z10cUAvt1FMq0E7t9gm5WZ4gsc 8Vcx+oB6H6ssHA67BFYIG4OuZPxLcQSxO0/Hs8wb+7coD8nOK366X2PHxeNTmRmcNpG/ eTvmwA2OXQ1tbXtW6oANNrcDgm/D3V9ay2/PGLUTvWfy1NBqOxyEzL97gxzSHc/Kgwws Z25c6swt4rHoMR4Ve1KUvE/bnwWTYkghO1qs4RLCbmNf7e92AQFwbLBIpW16IATLSpme Ft9Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:date:from:dkim-signature; bh=ZIvimmxh61dh33akQLRBV+SVzQv3ghkQ1Q6FQN6YS14=; b=ZKzYO0UA5+hQkRwPZ1FP3QoXPFeBrgZy5J5XJaT7tPTdGKPbaXOSo/ug23RRjQTxn5 t8PhY6Cha+asZji30pCy6dtNkcdrt9aC03YKZQ2Fr8oOIKXjBpFSQEcZ7jzF65kOZ5BA 4gxqi8AewyZi2OYPDQNi8eT83gfAVRBMfquZUcID0v5zgLk16oGI86ov5Gmq55izOSWX 3tegMn3nMVHTDDKsV5mi8uFlmqjBUwj/JrLRAVPcnO4hcvCWTPUxHvy7LWJcEoXMciXB Li0r5tQ7cVpPROc5zO8R+xGNKESCBGcSgMg42qMkimfRHhzYj1gOR/aBAd11pztXE2Jd oYQg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b="MsezpdM/"; 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 b4si3379779edr.318.2019.11.24.14.11.21; Sun, 24 Nov 2019 14:11:46 -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="MsezpdM/"; 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 S1726939AbfKXWK0 (ORCPT + 99 others); Sun, 24 Nov 2019 17:10:26 -0500 Received: from mail-lj1-f196.google.com ([209.85.208.196]:38060 "EHLO mail-lj1-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726855AbfKXWK0 (ORCPT ); Sun, 24 Nov 2019 17:10:26 -0500 Received: by mail-lj1-f196.google.com with SMTP id k8so2923184ljh.5; Sun, 24 Nov 2019 14:10:24 -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:user-agent; bh=ZIvimmxh61dh33akQLRBV+SVzQv3ghkQ1Q6FQN6YS14=; b=MsezpdM/SL8BGidO6m96mQyZq3dgBheFqqSMSkoG4YaIeDNuSYA6AeFyyBk6zeHl3V NJSrxbdSM4NdqK5rSO7pBoJzLexnpfZxJVOK2S5hr96jwiOzOzu/b7TvExUDB8GxJ+oT NGqPpfbToHv/Ue5gqhP7Q9DmE0ObQfG0amvwJIDMfBDMjruqQP87X087xf7tSsFb3+uM 73UGOUaqCTqJ/HFEzqd6BApM89Zdsl9lG9POtnWHKRUxJHjYxbY1Uq6DFWMHXBzPUXAg kSpkLn0YNMFhsKxeV4DpUOvKSYs3lf+casYTlwCbUfW+mkFJowM8GByk7mwPxIbBYKla xFMA== 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:user-agent; bh=ZIvimmxh61dh33akQLRBV+SVzQv3ghkQ1Q6FQN6YS14=; b=WBM/2OaTecAGWotepjJW4uEyoc3odSPZkTfbJGpmarRQfpDHo6rXoc0dIGLwTBXEF3 wF8erVxDg4laBidgu63ivRZ8SJCC3bZJUzGYUf7OFCY16dMwkC9t7fh2EY6/M7p2XPDQ HwcwzUZ+KLWlycLUb/togGMaPMQ4TlFhFDyhZDPjltd8P4dnexLqKN4Ty+G8ZfoSvTGj cSfnGjYCJDyJLoxSJ2wxYl1/7pyBgSoKz5b0loywg3f3MMecyG9nzi++ggBAoYdp4BGB SEGW60daYHZokdaXGB4N/AJb/W0KFytkYA4fzE2+9F7VgPW1WDjHb5tDvOkqWB8rJJMW yqbg== X-Gm-Message-State: APjAAAVydjb7LCSrjdkbF7olJ4o4boEX1E+DFB5Ip5jnxVKFDCCAjJdD vlFNkHynnTyFXSCM6SqHAwY= X-Received: by 2002:a2e:894b:: with SMTP id b11mr20099211ljk.118.1574633424128; Sun, 24 Nov 2019 14:10:24 -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 m18sm2868238ljg.3.2019.11.24.14.10.22 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 24 Nov 2019 14:10:23 -0800 (PST) From: Rikard Falkeborn X-Google-Original-From: Rikard Falkeborn Date: Sun, 24 Nov 2019 23:10:19 +0100 To: Rikard Falkeborn 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: <20191124221019.GA1186@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> User-Agent: Mutt/1.12.2 (2019-09-21) 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