Received: by 2002:a25:1506:0:0:0:0:0 with SMTP id 6csp1765710ybv; Fri, 21 Feb 2020 03:08:21 -0800 (PST) X-Google-Smtp-Source: APXvYqxfzZOi9khW8+48gnrw2UlxmoDAPm761c0/ZYZfahH7SMCnjUngOEUjuAI3Awc+fCXXfh/x X-Received: by 2002:a9d:6301:: with SMTP id q1mr26876743otk.299.1582283301597; Fri, 21 Feb 2020 03:08:21 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1582283301; cv=none; d=google.com; s=arc-20160816; b=wBGiiogvB87DDBunQWZq0hemwmvcS9bqp1nVSKOu9BfBH7b3uhpwoORnNjmej0FY/k gGWkBKNvVYIdHgkORN3DDfy4qZ1zSRXin2XsHIcWlw5Ok4yHq8eW3IjOA8DNi2i6eYeF HaEhrnUDMWriAoQ/vu0WYrkA5yXnNFZx7WUxWPQxJcimkuMsQnVMr/cxMmtmgigEdg7C UjTR80e6MgJeQ2xyHDVfUQxM6sLf2ZCmx4wy64zKvxtSGpfcNe3hsaUIJjGfSoaF3B2T 04V75JDduz0gfpDDWqSCoADeTD0zmtFnKBNdYG+dBItN69V4onqAGdTVPdLm/BieCkkO 7SFA== 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:from:date; bh=UGVI+Ep1MjF4kL4oS+Exm8ILMYowT+nWzyaa1XaC3rY=; b=ld3sEm8iHX8LlCiQFpRFOpfHPj7YZMaZop8j9PNxKfQZakJ4DLV61d/gJPP+DjAU4J Vsa5Oo8ii1JrqgzzQEceoqE4KvK8304fgOJsOWqonp8cyVWb8LpKzNXM514cdvjvmt/X 3XRQDOBMang4LxBPcwhYIPtGN2lnhemyzasJZkaHoYtCag2BChrEhvp1vSNhy5HxDfc7 8thOP8z44E5bTlMkKNAxhN7U8ILOB8wEM+itpRnNF3KQeIqvkfkKSmBVpbwZfBZg8yO2 +bsiHKXS+WIlF0e4HlorSXWXYS2jR5109tkVmIdAtH3WXd4L9gXUwhkqySFWq7qUaCWY Fi7Q== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id j15si621560oie.15.2020.02.21.03.08.06; Fri, 21 Feb 2020 03:08: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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727581AbgBULFr (ORCPT + 99 others); Fri, 21 Feb 2020 06:05:47 -0500 Received: from mx2.suse.de ([195.135.220.15]:42068 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727239AbgBULFr (ORCPT ); Fri, 21 Feb 2020 06:05:47 -0500 X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay2.suse.de (unknown [195.135.220.254]) by mx2.suse.de (Postfix) with ESMTP id F03F2AE17; Fri, 21 Feb 2020 11:05:43 +0000 (UTC) Date: Fri, 21 Feb 2020 12:05:41 +0100 From: Torsten Duwe To: Neil Armstrong Cc: Vasily Khoruzhick , Thierry Reding , Sam Ravnborg , David Airlie , Daniel Vetter , Rob Herring , Mark Rutland , Maxime Ripard , Chen-Yu Tsai , Andrzej Hajda , Laurent Pinchart , Jonas Karlman , Jernej Skrabec , Icenowy Zheng , Heiko Stuebner , Linus Walleij , Stephan Gerhold , Mark Brown , Stephen Rothwell , Samuel Holland , dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org Subject: Re: [PATCH 1/6] drm/bridge: anx6345: Fix getting anx6345 regulators Message-ID: <20200221110541.GA28948@suse.de> References: <20200220083508.792071-1-anarsoul@gmail.com> <20200220083508.792071-2-anarsoul@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Feb 21, 2020 at 09:32:01AM +0100, Neil Armstrong wrote: > On 20/02/2020 09:35, Vasily Khoruzhick wrote: > > From: Samuel Holland > > > > We don't need to pass '-supply' suffix to devm_get_regulator() > > > > Fixes: 6aa192698089 ("drm/bridge: Add Analogix anx6345 support") > > Signed-off-by: Samuel Holland > > Signed-off-by: Vasily Khoruzhick > > --- > > drivers/gpu/drm/bridge/analogix/analogix-anx6345.c | 4 ++-- > > 1 file changed, 2 insertions(+), 2 deletions(-) > > > > diff --git a/drivers/gpu/drm/bridge/analogix/analogix-anx6345.c b/drivers/gpu/drm/bridge/analogix/analogix-anx6345.c > > index 56f55c53abfd..0d8d083b0207 100644 > > --- a/drivers/gpu/drm/bridge/analogix/analogix-anx6345.c > > +++ b/drivers/gpu/drm/bridge/analogix/analogix-anx6345.c > > @@ -712,14 +712,14 @@ static int anx6345_i2c_probe(struct i2c_client *client, > > DRM_DEBUG("No panel found\n"); > > > > /* 1.2V digital core power regulator */ > > - anx6345->dvdd12 = devm_regulator_get(dev, "dvdd12-supply"); > > + anx6345->dvdd12 = devm_regulator_get(dev, "dvdd12"); > > if (IS_ERR(anx6345->dvdd12)) { > > DRM_ERROR("dvdd12-supply not found\n"); > > return PTR_ERR(anx6345->dvdd12); > > } > > > > /* 2.5V digital core power regulator */ > > - anx6345->dvdd25 = devm_regulator_get(dev, "dvdd25-supply"); > > + anx6345->dvdd25 = devm_regulator_get(dev, "dvdd25"); > > if (IS_ERR(anx6345->dvdd25)) { > > DRM_ERROR("dvdd25-supply not found\n"); > > return PTR_ERR(anx6345->dvdd25); > > > > This is a duplicate of "drm/bridge: analogix-anx6345: Avoid duplicate -supply suffix" (20200218155440.BEFB968C65@verein.lst.de) > > But this one has fixes and review from laurent, so I'll push this one when the serie is ready I really don't mind, as long as it gets fixed. The change is pretty obvious when you look at commit 69511a452e6dc. Signed-off-by: Torsten Duwe Reviewed-by: Mark Brown (broonie had replied to my submission back in November) There's one other fix required for the anx6345 and, while at it, I had also fixed the code I copied in that hurry as well. What about these? All 3 fixes can go in independently, so I wouldn't tie them to this series. Torsten